home *** CD-ROM | disk | FTP | other *** search
/ CD ROM Paradise Collection 4 / CD ROM Paradise Collection 4 1995 Nov.iso / os2 / zoc205.zip / INSTALL.FIL / ZOC.HLP (.txt) < prev    next >
OS/2 Help File  |  1995-02-22  |  111KB  |  3,441 lines

  1.  
  2. ΓòÉΓòÉΓòÉ 1. Getting Started ΓòÉΓòÉΓòÉ
  3.  
  4.  Before using ZOC you should browse through one of the following help topics 
  5. (according to your datacom knowledge). 
  6.  
  7.                              Novice (new to datacom)
  8.                             Experienced (new to ZOC)
  9.                            Experienced (ZOC V1.x User)
  10.  
  11. If you have questions about ordering ZOC, see General Info. 
  12.  
  13. Display of this window at startup time can be turned off in the 
  14. Options->Settings->Window menu. 
  15.  
  16.  
  17. ΓòÉΓòÉΓòÉ 1.1. Help for Datacom Novices ΓòÉΓòÉΓòÉ
  18.  
  19.  If you never used a datacom program, it is highly recommended to order and 
  20. read the printed documentation for ZOC. It contains a guide to datacom and 
  21. explains a lot of the technical terms in the first part (user guide). You 
  22. should work through the tutorial there. 
  23.  
  24. If you don't have a printed manual (it can be ordered from the 
  25. distribution/registration sites), you could print the help file (from the help 
  26. window's print button). Proceed as described in the topic for Experienced Users 
  27. but make sure you read the according help topics carefully. 
  28.  
  29. After you made your first call, you should make yourself familiar with other 
  30. ZOC functions and options. You will find many new things that seem of no use at 
  31. first sight, but if you read about them you will remember them later when they 
  32. come in handy. 
  33.  
  34. The help file contains a complete Menu Function and Options reference. Showing 
  35. the Contents of the help file might be useful as well. 
  36.  
  37.  
  38. ΓòÉΓòÉΓòÉ 1.2. Experienced Users (new to ZOC) ΓòÉΓòÉΓòÉ
  39.  
  40.  If you never used ZOC before, you should proceed as follows: 
  41.  
  42.  1. 
  43.     First, read the help topic about the Screen Elements. Don't miss the 
  44.     section about the main window (about clipping text with the mouse). 
  45.  
  46.  2. 
  47.     Then, customize the options in the modem section (make sure you read the 
  48.     help pages there, ZOC does some things in a slightly different way from 
  49.     other programs) and make sure you use a modem init string you already used 
  50.     successfully in another comm program (don't forget to append ^M to it). 
  51.     Then set the serial parameters (checking the settings from your other comm 
  52.     program might help a lot) and customize your window. 
  53.  
  54.     Then save the options to disk. 
  55.  
  56.  3. 
  57.     Next, you should open the phone book and create a new entry for your 
  58.     favorite bbs or host. Don't miss the help topic for the AutoLogin feature 
  59.     (at present it is unique to ZOC and can make things a LOT easier). 
  60.     Everything else is more or less similar to other comm programs. 
  61.  
  62.     Before calling it, you should set the options for the phone book (use the 
  63.     Options button in the main window of the phone book, or phone book options 
  64.     from the Options->Global Menu). 
  65.  
  66.  4. 
  67.     Make a call and check if everything works. If not, try to find the problem 
  68.     (compare your settings with those of the comm program that worked for you 
  69.     so far). 
  70.  
  71.  5. 
  72.     If everything works you should make yourself familiar with other ZOC 
  73.     functions and options. You will find many that are similar to the comm 
  74.     program you already used, but there will be a lot of new things as well. 
  75.  
  76.     The help file contains a complete Menu Function and Options reference. 
  77.     Showing the Contents of the help file might be useful as well. 
  78.  
  79.  
  80. ΓòÉΓòÉΓòÉ 1.3. Version Shock (ZOC V1.x -> V2.x) ΓòÉΓòÉΓòÉ
  81.  
  82.  If you have already used ZOC V1.x, you will very likely be pleased about the 
  83. improvements since V1.33 (unless you are a real purist and don't like new 
  84. features). 
  85.  
  86. But no progress comes free, so there are a few things that had to be changed in 
  87. order to maintain a logical user interface or for technical reasons. 
  88.  
  89. Here is a list of things that you should be aware of or that you might miss 
  90. when browsing through the menus and options (obviously new things are not 
  91. listed). 
  92.  
  93. o The options are now split into Global Options and Options Sets. Most of the 
  94.   Global Options are new, but the Directories and the Phone Cost Manager were 
  95.   moved out of the options booklet. 
  96.  
  97. o The phone cost calculation was completely redesigned, the install program 
  98.   does not convert your existing phone cost setup. 
  99.  
  100. o The screen marking of blocks (formerly with the right mouse button) was 
  101.   changed to Alt+left mouse button. 
  102.  
  103. o The right mouse button now brings up menus in the phone book, in the main 
  104.   window and in the status line. 
  105.  
  106. o The right mouse button now brings up the setup dialogs in the toolbar and in 
  107.   the button bar. 
  108.  
  109. o A find command was added to the capture browse window (press 'F'). 
  110.  
  111. o The call log file now logs file transfers. 
  112.  
  113. o Modem init and dial strings now require a ^M at the end (this should work 
  114.   automatically). 
  115.  
  116. o Ctrl+Space now sends ^@ 
  117.  
  118. o There is a setup for multimedia files in the directory options. 
  119.  
  120.  
  121. ΓòÉΓòÉΓòÉ 1.4. Starting ZOC (command line parameters and environment variables) ΓòÉΓòÉΓòÉ
  122.  
  123.  Command Line Parameters 
  124.  
  125. There are some parameters that can be specified when starting ZOC from the 
  126. commandline or from an icon. 
  127.  
  128. ZOC [/C] [/M] [/O:<options file>] [/P:<host name>] [/Q] [/S:<scriptfile>] [/U] 
  129.  
  130.      /C
  131.     This option specifies that you want ZOC to open the COM port in shared 
  132.     (cooperative) mode. This way other programs can access the COM port 
  133.     together with ZOC (but only if they open it in shared mode as well, which 
  134.     OS/2-MDOS and WINOS2 programs don't). 
  135.  
  136.      /M
  137.     This option specifies that you want to start ZOC with its windows 
  138.     minimized. 
  139.  
  140.      /O
  141.     With this option, you can tell ZOC to load an options file at start time 
  142.     (normally OPTIONS\STANDARD is used). This can be useful if you have more 
  143.     than one modem and different setups for these. A path should be specified, 
  144.     e.g. ZOC /O:OPTIONS\COM2OPTS 
  145.  
  146.      /P
  147.     This is a name of a host from the phone book to be called after startup. 
  148.  
  149.      /Q
  150.     This option suppresses the introduction window while loading ZOC. 
  151.  
  152.      /S
  153.     With this option, you can tell ZOC to process a REXX program or a 
  154.     scriptfile after start. A path can be specified, e.g. ZOC 
  155.     /S:SCRIPT\NIGHTCALL. 
  156.  
  157.      /U
  158.     This option specifies unattended mode. In unattended mode ZOC opens no 
  159.     requesters (like 'Are you sure') but answers them with their default 
  160.     setting automatically. This way the program won't hang if you run it in the 
  161.     middle of the night to fetch your mail and something unforeseen happens. 
  162.  
  163.  Environment Variables 
  164.  
  165. ZOC uses the TZ environment variable to correct the file date transmitted by 
  166. Zmodem. 
  167.  
  168. Zmodem was developed with Unix in mind, where time stamps (file date/time) are 
  169. always stored in Greenwich time and where local time is calculated by the dir 
  170. command.  This way a file always carries the correct local time, even if 
  171. shipped on disk around the globe.  However, the OS/2 file system knows nothing 
  172. about the time zones which are still part of Zmodem. Most OS/2 or MS-DOS 
  173. systems emulate the time zone in one way or anothor, mostly using Eastern 
  174. Standard Time (5 hours west of Greenwich) by default; files received from such 
  175. senders get the correct time when received by ZOC. However, some hosts use 
  176. other time zones. If you want to adapt your time zone setting to such hosts, 
  177. you should add the TZ environment variable to your CONFIG.SYS. 
  178.  
  179. To do this use SET TZ=<SSS><N><DDD> where <SSS> is a 3-char standard time code, 
  180. <N> is the time difference from Greenwich and <DDD> is a 3-char daylight saving 
  181. time code, eg. use SET TZ=EST5EDT for Eastern Standard Time (which is the 
  182. default) or TZ=CET2CDT for Central European Time. 
  183.  
  184.  Startup REXX Programs There are two REXX programs that are started when you 
  185. run ZOC. The first one is SCRIPT\ZOCEVENT.CMD (it's also run when ZOC closes) 
  186. and it is intended to stop or restart a fax program's (eg. FaxWorks) auto 
  187. receive feature.  See the comments in ZOCEVENT.CMD for more details. 
  188.  
  189. The other REXX program is called STARTUP and is run after ZOC has been 
  190. initialized.  You can use it to call a BBS every time you start ZOC or things 
  191. like that. 
  192.  
  193.  
  194. ΓòÉΓòÉΓòÉ 1.5. Screen Elements ΓòÉΓòÉΓòÉ
  195.  
  196. The elements of the screen are: 
  197.  
  198. o Menu 
  199.  
  200. o Toolbar 
  201.  
  202. o Custom Button Bar 
  203.  
  204. o Main Window 
  205.  
  206. o Chat Field 
  207.  
  208. o Status line 
  209.  
  210.  
  211. ΓòÉΓòÉΓòÉ 1.5.1. Menu ΓòÉΓòÉΓòÉ
  212.  
  213.  The menu lets you select most of the ZOC functions (for a description of the 
  214. particular functions see Menu Overview). 
  215.  
  216.  
  217. ΓòÉΓòÉΓòÉ 1.5.2. Toolbar ΓòÉΓòÉΓòÉ
  218.  
  219.  The toolbar offers icons for most of the functions in ZOC. 
  220.  
  221. You will see a description for each icon, if you move the mouse over it and 
  222. wait half a second. 
  223.  
  224. You can Customize the Toolbar from the Options Menu or by clicking with the 
  225. right mouse button on the toolbar. 
  226.  
  227.  
  228. ΓòÉΓòÉΓòÉ 1.5.3. Custom Button Bar ΓòÉΓòÉΓòÉ
  229.  
  230.  The custom button bar is located beneath the toolbar and offers buttons that 
  231. can be defined in Button Options of the Options Menu to start REXX programs or 
  232. send text. 
  233.  
  234.  
  235. ΓòÉΓòÉΓòÉ 1.5.4. Main Window ΓòÉΓòÉΓòÉ
  236.  
  237.  The main window displays the received text. 
  238.  
  239. You can bring up a popup menu by clicking the right mouse over the main window. 
  240.  
  241. You can mark text with the left mousebutton (this is called stream mode). 
  242.  
  243. If you hold the Alt key pressed while marking text, the selection will be made 
  244. in block mode rather than in stream mode (block mode lets you select arbitrary 
  245. rectangular areas on the screen, stream mode is line orientated). 
  246.  
  247. If you hold the Ctrl key pressed while doing the selection, the text will be 
  248. appended to the text that already is in the clipboard rather than overwriting 
  249. it. 
  250.  
  251. The marked text is copied into the clipboard and can be accessed from the 
  252. functions Send, Send without CRs, Send quoted, Send CIS-quoted, Print and Edit 
  253. in the Cliptext Menu and with some key shortcuts. 
  254.  
  255.  
  256. ΓòÉΓòÉΓòÉ 1.5.5. Chat Field ΓòÉΓòÉΓòÉ
  257.  
  258.  The chat field is an entry field into which you can enter text. The text is 
  259. not sent until you press enter. This is helpful if you are in an online 
  260. conference or if you use a remote shell that does not provide command editing 
  261. and history. 
  262.  
  263. The chat field can be activated from Window Options or by pressing Alt+C or by 
  264. pressing the Scroll-Lock key (the latter, only if defined accordingly in 
  265. Terminal Options). 
  266.  
  267. If the cursor is in the chat field, you can discard it by pressing ESC, Alt+C 
  268. or the Scroll-Lock key. 
  269.  
  270. You can use arrow keys to retrieve the last few lines you typed (this works 
  271. like the command history in an OS/2 shell). 
  272.  
  273.  
  274. ΓòÉΓòÉΓòÉ 1.5.6. Status Line ΓòÉΓòÉΓòÉ
  275.  
  276.  The status line provides information about and access to some options (if your 
  277. ZOC window is not wide enough (because of a small font) some of the information 
  278. will not be available). 
  279.  
  280. Using the right mouse button in the status line brings up a popup menu that 
  281. gives access to all options dialogs. 
  282.  
  283.  Serial Parameters 
  284.     This button displays the currently set line speed and parameters. Clicking 
  285.     on the field with the left mouse button brings up the Serial Options 
  286.     dialog. 
  287.  
  288.  Transfer Protocol 
  289.     This button displays the currently set file transfer protocol. Clicking on 
  290.     the field brings up the Transfer Options dialog. 
  291.  
  292.  Emulation 
  293.     This button displays the current terminal emulation. Clicking on the button 
  294.     brings up the Emulation Options dialog 
  295.  
  296.  Timer 
  297.     This button displays the timer. The value depends on the currently set mode 
  298.     (see Cost Description and Window Options). 
  299.  
  300.     A lowercase letter a-h means that a timer unit is selected and that the 
  301.     timer was stopped. A capital letter indicates that the timer is running. A 
  302.     number (n) after the letter indicates that the n-th time section for the 
  303.     distance zone is currently used. 
  304.  
  305.     A click on the button brings up the Timer Options dialog. 
  306.  
  307.  LEDs 
  308.     The four LEDs in the status line provide two services: 
  309.  
  310.     If they turn green, your host has requested the VT102 LED service and sets 
  311.     the LEDs according to the application you run. The LEDs will stay green 
  312.     until you change the emulation or clear the screen from the Misc Menu. 
  313.  
  314.     If they are red they display additional status information: 
  315.  
  316.     LED 1 
  317.        ON: Modem Carrier Detect 
  318.  
  319.        OFF: No Carrier. 
  320.  
  321.     LED 2 
  322.        Bright Red: Script running. 
  323.  
  324.        Blue: Doorway mode active. 
  325.  
  326.        Pink: Autologin running. 
  327.  
  328.     LED 3/4 
  329.        Modem receive-data and send-data. They can be turned off in the Window 
  330.        Options. 
  331.  
  332.  Logfile 
  333.     This checkmark displays the name of the logfile and opens or closes it. 
  334.  
  335.  Online Time 
  336.     This shows how long you are (or have been) connected to a host. 
  337.  
  338.  Window Size 
  339.     This shows the size of the window (columns x rows). 
  340.  
  341.  
  342. ΓòÉΓòÉΓòÉ 2. Menu Overview ΓòÉΓòÉΓòÉ
  343.  
  344.  The menu provides seven submenus which give you access to ZOC's functions: 
  345.  
  346. o MODEM 
  347.  
  348. o LOGGING 
  349.  
  350. o CLIPTEXT 
  351.  
  352. o TRANSFER 
  353.  
  354. o MISC 
  355.  
  356. o OPTIONS 
  357.  
  358.  
  359. ΓòÉΓòÉΓòÉ 2.1. Modem Menu ΓòÉΓòÉΓòÉ
  360.  
  361.  The modem menu manages all necessary functions to maintain the modem and to 
  362. connect to a host. 
  363.  
  364.  Initialize 
  365.     This function sends the init string defined in the Modem Options to the 
  366.     modem to set it to a defined state. It will do this regardless of the 
  367.     current carrier detect state. 
  368.  
  369.  Manual Dial 
  370.     This function opens a window to enter a phone number. This number is then 
  371.     dialed using the dial string (see Modem Options) you specify in the window 
  372.     as well. If the number is busy or cannot be reached for any reason, ZOC 
  373.     will redial it using the options specified in the Phone Book Options. 
  374.  
  375.  Hangup 
  376.     Disconnects the line using the hangup method defined in Modem Options. 
  377.  
  378.  Send Break 
  379.     Pulls the data pin of the modem low for a given time (see Modem Options). 
  380.     This is called 'sending a break'. Some systems use this to stop the current 
  381.     operation. 
  382.  
  383.  Auto Answer 
  384.     This function enables/disables the auto answer mode of your modem using the 
  385.     commands you set up in Modem Options. In auto answer mode the modem will 
  386.     automatically pick up the phone when the phone rings and will try to 
  387.     establish a data connection with the calling modem (of course this is not a 
  388.     good idea when you expect voice calls). 
  389.  
  390.  Phone book 
  391.     The phone book is a dialog to maintain your personal dialing directory or 
  392.     to connect to one or more numbers from it (see Phone Book). 
  393.  
  394.  Call next 
  395.     If you select more than one host to call in the phone book, ZOC connects to 
  396.     the first of them that is available. After finishing the call you can 
  397.     select this function to try to reach the next available host. 
  398.  
  399.  Call XXXX 
  400.     At the end of the modem menu appear those entries from the phone book that 
  401.     have the Menu Access option enabled (see Changing Phone Book Entries). This 
  402.     is handy for hosts you call often. 
  403.  
  404.  
  405. ΓòÉΓòÉΓòÉ 2.2. Logging Menu ΓòÉΓòÉΓòÉ
  406.  
  407.  ZOC maintains four different logging methods. One is logging to a memory 
  408. buffer, (called Capture) so you can review data that scrolled off the screen 
  409. during a session. Another is the logfile that logs all incoming data 
  410. permanently to a file on the hard disk. Yet another is redirecting all incoming 
  411. data directly to the printer. The last one, the call log, logs time, duration, 
  412. cost and file transfers of your calls to a file (see Call Log). 
  413.  
  414. The Logging Menu controls the capture, logfile and printer logging. 
  415.  
  416.  Browse Capture 
  417.     This function shows the contents of the capture (for more information see 
  418.     Browse Window). 
  419.  
  420.  Clear Capture 
  421.     Clears the capture buffer. This function is affected by the Safety Options. 
  422.  
  423.  Load Capture 
  424.     Loads a file from disk to the end of the capture buffer. 
  425.  
  426.  Edit Capture 
  427.     Starts the editor defined in Directories with the contents of the capture 
  428.     buffer. After you leave the editor, the modified contents will be moved 
  429.     back into capture buffer. 
  430.  
  431.     Note:  This functions closes the browse window if it is open. 
  432.  
  433.  Print Capture 
  434.     Sends the entire contents of the view buffer to the printer (also available 
  435.     from the Toolbar). Of course this can result in a lot of printing. 
  436.  
  437.  Set Log Name 
  438.     Set the name of the current logfile. The name can be automatically selected 
  439.     from the phone book when connecting to a host (when starting ZOC the 
  440.     logfile gets its name from Capture Options). You may use special 
  441.     placeholders for the name as described in the Capture Options and the Code 
  442.     Section of the appendix. 
  443.  
  444.  Default Log Name 
  445.     This sets the logfile to the file defined in Capture Options. 
  446.  
  447.  Log active 
  448.     This function changes the toggles the status of logging between on and off. 
  449.     This can also be achieved by clicking on the capture name in the Status 
  450.     Line and can be done remotely if your host supports the DC2/DC4 logging 
  451.     protocol (see Capture Options). 
  452.  
  453.  Delete Log Files 
  454.     Since you can build log file names that contain the current date you might 
  455.     end up with a lot of log files. Using this function lets you delete 
  456.     logfiles you do not need any more. 
  457.  
  458.  Log to printer 
  459.     Sometimes it is handy to have part of a session sent to the printer. This 
  460.     is possible by enabling this function before receiving the data (e.g. 
  461.     before reading a mail). 
  462.  
  463.     Additionally it is possible to print already received text, by opening the 
  464.     capture window (see Logging Menu), marking the text with the mouse (to copy 
  465.     it to the clipboard). and printing the contents of the clipboard from the 
  466.     Cliptext Menu. 
  467.  
  468.  
  469. ΓòÉΓòÉΓòÉ 2.3. Cliptext Menu ΓòÉΓòÉΓòÉ
  470.  
  471.  Cliptext is text that is stored in the clipboard of the WPS. Normally it is 
  472. copied from a ZOC screen by marking characters with the left mouse button (this 
  473. can be combined with the Alt key), but it can be copied or cut from an editor 
  474. or any other program as well. 
  475.  
  476.  Mark 
  477.     This function is just an info message of how to put text from screen into 
  478.     the clipboard. 
  479.  
  480.  Copy Window 
  481.     This function copies the entire contents of the ZOC text window into the 
  482.     clipboard. 
  483.  
  484.  Send 
  485.     This function takes text from the clipboard and sends it to the modem. The 
  486.     sending is done like an ascii upload and the delay and CR/LF translation 
  487.     from Ascii Upload Options are used. 
  488.  
  489.  Send (no CRs) 
  490.     Takes text from the clipboard and sends it to the modem. Carriage Returns 
  491.     are ignored and a Space is sent instead. This function is affected by the 
  492.     Ascii Options in the Transfer Options window. 
  493.  
  494.     Imagine the following case: You searched a host for files with the keyword 
  495.     TERM and the host gave you a list of filenames - one in each line. To 
  496.     download all files, you could mark the list with a box (left mouse button 
  497.     while pressing the Alt key) and send them with a space between them when 
  498.     the host asks for the filenames to download. 
  499.  
  500.  Send quoted 
  501.     Text from the clipboard is sent. Each line is preceded by > to indicate a 
  502.     quotation. If you press the shift key while selecting this function, ZOC 
  503.     will reformat the text to fit into the line before sending it. The function 
  504.     is also available from the Toolbar and is affected by the Ascii Upload 
  505.     Options in the Transfer Options window and 'Quote always smart' in the 
  506.     Terminal Options window. 
  507.  
  508.     Note:  If you hold the shift key pressed while selecting this function, the 
  509.     text will be reformatted to fit a given width. 
  510.  
  511.  Send CIS-quoted 
  512.     The quoting style of the Send Quoted function is used widely across the 
  513.     networks. However, on CompuServe most people quote text by starting the 
  514.     quotation with >> and ending it with <<. 
  515.  
  516.     This function works the same as Send Quoted but uses the CompuServe 
  517.     quotation style. 
  518.  
  519.     Note:  If you hold the shift key pressed while selecting this function, the 
  520.     text will be reformatted to fit a given width. 
  521.  
  522.  Edit 
  523.     Calls the system editor (see Directory Options) with the contents of the 
  524.     clipboard. After saving, the new contents is written back into the 
  525.     clipboard. 
  526.  
  527.  Print 
  528.     Sends the contents of the clipboard to the printer (the printer port is 
  529.     defined in Directory Options). 
  530.  
  531.  
  532. ΓòÉΓòÉΓòÉ 2.4. Transfer Menu ΓòÉΓòÉΓòÉ
  533.  
  534.  The transfer menu allows you to send files to the host or receive them from 
  535. it. 
  536.  
  537.  Upload 
  538.     Sending a file to a host is called an Upload. To do this the sender and 
  539.     receiver use certain methods called Transfer Protocols. The upload function 
  540.     sends a file to the host using the currently active protocol (see Transfer 
  541.     Options). 
  542.  
  543.  Download 
  544.     Receiving a binary file from a host is called a Download. The same transfer 
  545.     protocols are used as for uploads. Downloads are affected by the Transfer 
  546.     Options. 
  547.  
  548.  ASCII Send 
  549.     This functions takes text from a file and sends it to the modem without 
  550.     using a file transfer protocol. Roughly spoken, an ascii upload is the same 
  551.     as typing text very fast. This way you can prepare messages using an editor 
  552.     before you call a host and then send the file with this function when the 
  553.     host asks you to type your message. 
  554.  
  555.     Note:  If the host loses characters in this process, you can specify a 
  556.     delay for each character in the Transfer Options window. 
  557.  
  558.  Plugs 
  559.     This function gives access to add in modules (so called Plug-In-Protocols) 
  560.     and lets you do Setup, Upload or Download for them. Plug-In-Protocols are 
  561.     provided from third party and are stored in DLL files named PIP*.DLL. 
  562.  
  563.     Currently there are PIPs available for Kermit and CompuServe-B file 
  564.     transfer. 
  565.  
  566.     If no such modules exist in your ZOC directory, this function will be 
  567.     disabled. 
  568.  
  569.  Transfer Shell 
  570.     Transfer shell launches a command processor from which you can start 
  571.     command line based external protocols that can accept a file handle for the 
  572.     com port. The handle of the communications port is given in the environment 
  573.     variable ZOCHFC. 
  574.  
  575.     Example: 
  576.  
  577.         CKERMIT -l %ZOCHFC% -r
  578.  
  579.     Transfer Shells are available from REXX programs (see REXX command list), 
  580.     F-Keys, User Buttons and AutoReplies as well (see Special Codes).  To start 
  581.     an external protocol like M2ZMODEM from a macro key, you would define it as 
  582.  
  583.     Example: 
  584.  
  585.         ^XFER=M2ZMODEM -u %ZOCHFC% -r .\DOWNLOADS
  586.  
  587.     If you map that onto an AutoReply (instead of F-Key) you could even have it 
  588.     starting automatically. 
  589.  
  590.  Transfer DOS-Shell 
  591.     A transfer DOS-Shell lets you start a DOS command processor from which you 
  592.     could run external protocols.  This is a rather tricky feature, since DOS 
  593.     programs cannot share the COM port with OS/2 programs.  To run them anyway, 
  594.     ZOC has to release the COM device, which clears the DTR signal on the 
  595.     serial port, whereupon modems normally hang up.  To prevent this, ZOC has 
  596.     to send a special command string (see Modem Options) to make the modem 
  597.     ignore the DTR signal. 
  598.  
  599.     Transfer DOS-Shells are available from REXX-programs (see REXX command 
  600.     list), F-Keys, User Buttons and AutoReplies as well (see Special Codes). 
  601.     To start an external DOS protocol like DSZ from a macro key, you would 
  602.     define it as 
  603.  
  604.     Example: 
  605.  
  606.         ^DOSXFER=\DOSCOMM\DSZ\DSZ port 1 rb
  607.  
  608.     Note:  However, if possible, you should use OS/2 protocols (like CKERMIT, P 
  609.     or M2ZMODEM) since DOS communication protocols eat a LOT of CPU power when 
  610.     running under OS/2. 
  611.  
  612.  
  613. ΓòÉΓòÉΓòÉ 2.5. Misc Menu ΓòÉΓòÉΓòÉ
  614.  
  615.  Start REXX 
  616.     Starts a REXX program (or script). REXX is something like a batch programs 
  617.     for ZOC, which lets you process specific tasks automatically (see ZOC 
  618.     Automation). 
  619.  
  620.  Stop REXX 
  621.     Stops a currently running REXX. 
  622.  
  623.  Edit REXX 
  624.     Call the editor to modify a script file manually. 
  625.  
  626.  Learn REXX 
  627.     Most of the time REXX is used automate logins. Writing these is a rather 
  628.     tedious and boring task that can, for the most part, be done automatically. 
  629.     If you select this function before calling a host, ZOC will monitor the 
  630.     login process and create a REXX program that handles the login 
  631.     automatically. 
  632.  
  633.     Note:  The program will only contain the code necessary for the log in. It 
  634.     will not contain commands to call that host (which is normally done from 
  635.     the phone book and not from script). 
  636.  
  637.  Stop Learning 
  638.     After you enabled script learning and logged into a host you tell ZOC to 
  639.     stop the learning process. ZOC will ask you for a name and store the script 
  640.     accordingly. The name you use can be entered into the REXX field of a phone 
  641.     book entry (see Changing Phone Book Entries). and ZOC will execute it to 
  642.     log you into that host after making a connection. 
  643.  
  644.  Lock Macros 
  645.     Lock the macro keys to prevent unauthorized use. 
  646.  
  647.  Unlock Macros 
  648.     Unlock the macro keys again. If defined, the password from Safety Options 
  649.     is required. 
  650.  
  651.  Reset Timer 
  652.     Reset the timer in the status line which displays the time or cost of your 
  653.     current call. 
  654.  
  655.  Hold Timer 
  656.     Stop the timer in the status line which displays the time or cost of your 
  657.     current call. 
  658.  
  659.  Release Timer 
  660.     Restart the timer in the status line which displays the time or cost of 
  661.     your current call. 
  662.  
  663.  Set Timer 
  664.     Set the timer to a specific value. 
  665.  
  666.  Split Chat 
  667.     The split chat function splits the screen horizontally and shows text you 
  668.     type in the lower half while displaying text you receive in the upper. This 
  669.     is handy if you want to chat with someone who called you by modem. 
  670.  
  671.     Note:  You should not use this function while accessing a remote host. 
  672.  
  673.  Clear Screen 
  674.     This functions just clears the terminal screen and resets the LEDs in the 
  675.     Status Line back to red. 
  676.  
  677.  Snippets 
  678.     ZOC monitors your input data stream for filenames, fido node numbers, 
  679.     CompuServe user IDs and Internet addresses and collects them in a little 
  680.     window that floats aside the ZOC window. Using this function you can show 
  681.     or hide the Snippets Window. When it is showing, you can send one of the 
  682.     collected items by double clicking it with the mouse. 
  683.  
  684.     Note:  This feature needs a bit of CPU power, so if you don't need it or 
  685.     don't have fast machine you should disable it in the Window Options. A good 
  686.     compromise is to hide the window most of the time (thus monitoring the 
  687.     input stream but saving the CPU power to update the window) and to show it 
  688.     (using the Alt+. key combination) when it is needed. 
  689.  
  690.     Note:  You can change the font of the Snippets window by dragging a font 
  691.     from the System->Setup->Fonts folder of the WPS and dropping it above the 
  692.     Snippets window. 
  693.  
  694.  Editor 
  695.     Call the editor defined in the Directory Options. 
  696.  
  697.  OS/2 Shell 
  698.     Call the shell defined in the Directory Options. 
  699.  
  700.  
  701. ΓòÉΓòÉΓòÉ 2.6. Options Menu ΓòÉΓòÉΓòÉ
  702.  
  703.  The options menu is used to define the characteristics of ZOC. 
  704.  
  705. There are basically two kinds of options: global options and option sets. 
  706.  
  707. The global options (like directory or sound file names) remain the same for all 
  708. the hosts you call, while options from the options sets (like the settings of 
  709. the macro keys or character translation) will very likely change from host to 
  710. host. Different option sets can be stored in files an can be retrieved when 
  711. calling a host. There is one special option set named STANDARD which is used 
  712. when you start ZOC. 
  713.  
  714.  Global 
  715.     Display a submenu to jump to one of the global option definition dialogs 
  716.     (see Global Options). 
  717.  
  718.  Settings 
  719.     Opens a settings notebook to define all kind of options (see Options 
  720.     Notebook). 
  721.  
  722.  Jump to 
  723.     Display a submenu to jump to a specific page in the options booklet. 
  724.  
  725.  Save 
  726.     Save the current set of options to disk. 
  727.  
  728.  Save As 
  729.     Save an options set in a file with a different name. If saved as STANDARD, 
  730.     it will be loaded automatically when ZOC is started. 
  731.  
  732.  Load 
  733.     Load a set of options. 
  734.  
  735.  Reset 
  736.     Reset the current options set to the default state. 
  737.  
  738.  
  739. ΓòÉΓòÉΓòÉ 3. Phone Book ΓòÉΓòÉΓòÉ
  740.  
  741.  Select How to use the phone book or Changing a phone book entry. 
  742.  
  743.  
  744. ΓòÉΓòÉΓòÉ 3.1. How to use the phone book ΓòÉΓòÉΓòÉ
  745.  
  746.  The phone book acts as a personal dial directory for numbers you call with 
  747. your modem. 
  748.  
  749. It is subdivided into four sections (default, 1st, 2nd and 3rd alternate) which 
  750. means, that you practically have four different phone books. 
  751.  
  752. The main window lets you select one or more hosts to call and gives you 
  753. functions like Delete or Edit that are necessary to maintain the list. 
  754.  
  755.  Dial 
  756.     Connects to one or more selected entries. If you select more than one entry 
  757.     (to do this, hold the Ctrl key pressed while you click on one entry after 
  758.     the other with the mouse) ZOC will connect to the first that is available 
  759.     and store the others in an internal dial queue so you can call them later 
  760.     (using the Call Next operation from the Modem Menu). 
  761.  
  762.  Delete 
  763.     Deletes one or more entries from phone book. 
  764.  
  765.  Edit 
  766.     Changes the data of the selected entry (check Changing a Phone Book Entry 
  767.     for details). 
  768.  
  769.  New 
  770.     Creates and edit a new entry in this section of the phone book. 
  771.  
  772.  Clone 
  773.     Creates and copy of the selected entry and opens the edit window. 
  774.  
  775.  Due 
  776.     Selects all entries which are due for calling (marked with a little yellow 
  777.     flash in front of the phone number). ZOC determines the entries that are 
  778.     due for calling by looking at the date of the last call and the 'Call after 
  779.     xx days' field from the edit window. 
  780.  
  781.  Print 
  782.     Prints the selected entries. 
  783.  
  784.  Default Book/#1/#2/#3/All 
  785.     These buttons show the selected section of the phone book. 
  786.  
  787.  Options 
  788.     Show the phone book options (this is the same as calling the phone book 
  789.     options from the options menu). 
  790.  
  791.  
  792. ΓòÉΓòÉΓòÉ 3.2. Changing a phone book entry ΓòÉΓòÉΓòÉ
  793.  
  794.  Name 
  795.     A name for the entry. For multi port hosts, you should use names that are 
  796.     equal in the first six characters (e.g. AVALON-1, AVALON-2 ...). This ZOC 
  797.     will maintain call dates and the like for all ports of the host instead of 
  798.     updating only the one that was called. 
  799.  
  800.  Phone number 
  801.     The phone number of the host. 
  802.  
  803.  Call every XX days 
  804.     If ZOC finds a carrier detect signal after calling a host, it will update 
  805.     the date of last call for the called entries (and all others that are equal 
  806.     to the one that was called in the first six characters of the name, thus 
  807.     managing multi-line hosts correctly, see above). 
  808.  
  809.     If you want to call a host regularly (say once a week) you can enter the 
  810.     number of days here after which ZOC should remind you (by showing a symbol 
  811.     in front of the phone number in the main window) that it is time to call 
  812.     that host again. 
  813.  
  814.  Phone book 
  815.     Select the phone book section to store this entry to. 
  816.  
  817.  Sort first 
  818.     The phone book is sorted according to the Phone Book Options but you might 
  819.     have entries that you want on top of the list regardless of their name, 
  820.     last call or whatever it is you use to sort the list. This option will send 
  821.     the entry to the top of the list. 
  822.  
  823.  Menu access 
  824.     Select this if you want the host to be accessible from the modem menu. 
  825.     Insert a tilde before a character in the name (e.g. ~ZOC InfoBBS), to 
  826.     create a shortcut for the menu item. 
  827.  
  828.  Group call 
  829.     If you call hosts that have multiple phone numbers you should create one 
  830.     entry for each phone number and name them in a way that the first six 
  831.     characters of the entries are the same (see above). 
  832.  
  833.     If you don't want to select all these entries to call that host you should 
  834.     enable the group call option for one (or all) of them. This way ZOC tries 
  835.     the other lines as well to connect to the host. 
  836.  
  837.  Options file 
  838.     Enter the name of an options file to be loaded before setting the serial 
  839.     parameters, the emulation and filetransfer the protocol. The option file 
  840.     must be preceded by a path (e.g. OPTIONS\COMPUSRV.OPT). 
  841.  
  842.     This way you can have entirely different options for different hosts. 
  843.  
  844.  Serial parameters 
  845.     Serial parameters to be set before calling the number (e.g. 19200-8N1). 
  846.  
  847.     If you leave this field blank, the current setting or the setting from a 
  848.     loaded options file will be used. 
  849.  
  850.     You may leave out the options (and just type a line speed). 
  851.  
  852.     If you just want to set the options and leave the current line speed 
  853.     unchanged set the speed to zero (e.g. 0-7N1). 
  854.  
  855.  Emulation 
  856.     Select an emulation to use after loading the options file but before 
  857.     calling the host. 
  858.  
  859.  Protocol 
  860.     Select a protocol to set after loading the options file but before calling 
  861.     the host. 
  862.  
  863.  Logfile 
  864.     This is a name to be used for logging the session. Special placeholders 
  865.     (for date or time) can be used as described in Capture Options. 
  866.  
  867.  Dl. Path 
  868.     This is the name into which downloaded files are stored. This setting 
  869.     overwrites the value in Options->Global->Directories (which is restored at 
  870.     the end of the session only, if 'Load standard options after disconnect' is 
  871.     enabled in Dialling Options). 
  872.  
  873.  REXX File and Arg 
  874.     The name of a REXX (or Script) file to be executed after the dialer has 
  875.     made a connection to the given phone number (for REXX programs the argument 
  876.     will be supplied in ARG(1)). 
  877.  
  878.     Such a script could be used to log you into the host automatically. 
  879.     However, for simple login procedures (like sending user name and password), 
  880.     the AutoLogin feature or IEMSI (both described below) are more handy. 
  881.  
  882.     Note:  IEMSI is only available if you enter a password. 
  883.  
  884.  Prefix 
  885.     Select a dial command (from the Modem Options) to be used to dial the phone 
  886.     number. 
  887.  
  888.  Cost 
  889.     If you set up the Phone Cost Description you can specify the distance zone 
  890.     to be used to calculate the phone cost for calls to this host. 
  891.  
  892.  Password 
  893.     You can add a password for the host here. If you connect to the host you 
  894.     can send the password by defining a macro key as ^& (or by sending ^& from 
  895.     a REXX script). 
  896.  
  897.     That is, if your F12 key is set to the text ^&, you can answer the password 
  898.     prompt of the host by pressing F12 (see Macro Keys). 
  899.  
  900.     However, it is more convenient to let the AutoLogin feature (see below) 
  901.     handle the entire login. 
  902.  
  903.  IEMSI 
  904.     Many bulletin board systems offer a method called IEMSI to automate the 
  905.     login procedure. 
  906.  
  907.     Using this method you can provide your name in the IEMSI options window and 
  908.     set the password field to the password you use to log into that host. 
  909.     Additionally you can specify some options that are used by host. 
  910.  
  911.     During the login the host will send and IEMSI request (**IEMSI_IRQ) to 
  912.     which ZOC responds by sending your user name and password to the host. If 
  913.     everything goes well, the host will let you in at once and show (or skip) 
  914.     news, new mail and new files as selected in the IEMSI options window. 
  915.  
  916.     If you leave the name field empty, ZOC will use the name supplied in the 
  917.     Modem Options. 
  918.  
  919.     Note:  This button is only available if you entered a password for this 
  920.     host. 
  921.  
  922.  AutoLogin 
  923.     This field contains a sequence of events (either wait (W) or send (S) 
  924.     events) that logs you into the host automatically. Since most logins can be 
  925.     handled in a form like 'wait for this, then send that' ZOC offers a method 
  926.     to do exactly this without having to deal with REXX programming. 
  927.  
  928.     To send special keys like Enter or ESC you can use control codes as 
  929.     described in the Appendix. 
  930.  
  931.     S0=... 
  932.        If defined, S0 is sent unconditionally after a carrier signal was 
  933.        detected. It can be used to raise the attention of the host. 
  934.  
  935.     Wn/Sn=... 
  936.        Define pairs of words to wait for and to reply then. Text to wait for is 
  937.        listed as W1, W2 ..., the corresponding text to be sent is given as S1, 
  938.        S2 ... (see example below). 
  939.  
  940.     Note: 
  941.        the W and S characters must not be lowercase letters 
  942.  
  943.     Example: 
  944.  
  945.  
  946.               W1=Esc|S1=^[|W2=Name|S2=Zaphod^M|W3=Password|S3=HeartOfGold^M
  947.        This example means: To log in, first wait until the host sends the 
  948.        characters Esc, then send the ESC character to the host. After that wait 
  949.        until the host sends Name, and send Zaphod<Enter> back. Then wait for 
  950.        the text Password and send the text HeartOfGold<Enter>. 
  951.  
  952.     Note:  You don't have to write such AutoLogin sequences yourself, since you 
  953.     can tell ZOC to learn it from watching you the next time you call this 
  954.     host. 
  955.  
  956.  Memo 
  957.     This first line of the memo stores a short note about the host. You might 
  958.     want to enter the name of the sysop or other info about the host here (for 
  959.     passwords you should use the AutoLogin feature or the password field). 
  960.  
  961.     If this field is not empty, it will be displayed in the phone book main 
  962.     window. If you don't like this, begin the memo with a space character; in 
  963.     this case, the main window will still show the number of calls instead of 
  964.     the memo. 
  965.  
  966.     The other fields are maintained by ZOC and cannot be modified. 
  967.  
  968.  
  969. ΓòÉΓòÉΓòÉ 3.3. The AutoDial feature ΓòÉΓòÉΓòÉ
  970.  
  971.  When you selected one or more entries from the phone book or choose Manual 
  972. Dial from the Modem Menu the AutoDial window will pop up. It will try to 
  973. connect you successfully to the number(s) you selected. If a number is busy it 
  974. will try the next in the list (if more than one was selected) or retry the 
  975. number. To do that, AutoDial will use the values you set in Phone Book Options 
  976. to define the maximum number of retries and the time between attempts to call 
  977. the same number (see note about redial delay in Phone Book Options). 
  978.  
  979. During AutoDial you can control the operation using four buttons: 
  980.  
  981.  Cancel 
  982.     Abort calling. 
  983.  
  984.  Redial Now 
  985.     If AutoDial waits to call the next number you can skip the delay and redial 
  986.     at once. 
  987.  
  988.  Skip This 
  989.     This function skips the call to a number and proceeds with the next in the 
  990.     list. The skipped number will be called later. 
  991.  
  992.  Forget This 
  993.     This function cancels the attempt to call a number and proceeds with the 
  994.     next in the list. The cancelled number will be removed from the dial list. 
  995.  
  996.  
  997. ΓòÉΓòÉΓòÉ 4. Other functions ΓòÉΓòÉΓòÉ
  998.  
  999.  
  1000. ΓòÉΓòÉΓòÉ 4.1. Browse Window ΓòÉΓòÉΓòÉ
  1001.  
  1002. The browse window lets you scroll back through the text you received since 
  1003. starting ZOC (or since clearing the capture buffer). 
  1004.  
  1005. You can mark text with the mouse (thus putting it into the clipboard) or search 
  1006. for text by pressing the F(ind) key. 
  1007.  
  1008.  
  1009. ΓòÉΓòÉΓòÉ 4.2. File transfer window ΓòÉΓòÉΓòÉ
  1010.  
  1011. The transfer window consists of the following parts: 
  1012.  
  1013.      Name
  1014.     The name of the file to be transferred (not available in Xmodem downloads). 
  1015.  
  1016.      Size
  1017.     The size of the file to be transferred (not available in Xmodem downloads). 
  1018.  
  1019.      Transmitted
  1020.     The number of bytes sent or received so far (the net value without control 
  1021.     bytes like checksum). 
  1022.  
  1023.      Time
  1024.     The duration of the transfer so far and the projected time to go (only 
  1025.     available if the file size is available). 
  1026.  
  1027.      Speed
  1028.     The avarage net number of characters sent or received so far. This should 
  1029.     be about a tenth of the connect speed (eg. 960 cps at 9600 bps). 
  1030.  
  1031.      Skip
  1032.     This button is available in Zmodem only and skips the current file. 
  1033.  
  1034.     Note:  The skip option might not work with all Zmodem implementations. 
  1035.  
  1036.  Disconnect after transfer 
  1037.     If set, ZOC will disconnect from the remote host after the file transfer 
  1038.  
  1039.     Note:  Please be careful, ZOC will not properly logoff from your host, but 
  1040.     it will merely hangup instead. Not all hosts (or sysops) like this. 
  1041.  
  1042.  Delete file after transfer 
  1043.     This checkmark makes ZOC delete the file after the transfer. Files are only 
  1044.     deleted if they were transferred without error and file transfer was not 
  1045.     aborted by the user. 
  1046.  
  1047.  
  1048. ΓòÉΓòÉΓòÉ 5. Customizing ZOC ΓòÉΓòÉΓòÉ
  1049.  
  1050.  There are basically two sets of options, Global Options and Option Sets. 
  1051.  
  1052. Global options hardly change once you defined then while it is very likely that 
  1053. the options from options sets will differ with different hosts you use. 
  1054. Therefore there is only one set of global options but you can have as many 
  1055. options sets (containing the other options) as you like. 
  1056.  
  1057.  
  1058. ΓòÉΓòÉΓòÉ 5.1. Help for Global Options ΓòÉΓòÉΓòÉ
  1059.  
  1060.  Global options (as opposed to the options from the Options Sets) are valid for 
  1061. all connections you make. They contain options that, once they are set, hardly 
  1062. change at all. 
  1063.  
  1064. Global options are 
  1065.  
  1066. o Directory and File Names 
  1067.  
  1068. o Tool Bar Icons 
  1069.  
  1070. o Keyboard Redefinition 
  1071.  
  1072. o Phone Cost Description 
  1073.  
  1074. o Phone Book/Dialling Options 
  1075.  
  1076.  
  1077. ΓòÉΓòÉΓòÉ 5.1.1. Defining Directory and File Names ΓòÉΓòÉΓòÉ
  1078.  
  1079.  The names defined here are the default directories and file names that are 
  1080. used in file selection windows or special functions. 
  1081.  
  1082. Most of them are rather straightforward but some need a few words of 
  1083. explanation. 
  1084.  
  1085.  Alt Downl. 
  1086.     This field defines a directory into which special files are downloaded. The 
  1087.     file extensions of the files to be put into this directory are defined in 
  1088.     the transfer section of the options notebook. This directory is mostly used 
  1089.     to receive mail packets for popular offline mail readers like BlueWave or 
  1090.     Kurt Westerfeld's KWQ (which is an excellent shareware product, highly 
  1091.     recommended). 
  1092.  
  1093.  Editor 
  1094.     This defines the editor to be used when calling the Cliptext Edit function 
  1095.     from the Cliptext menu, or when calling the Edit function from the Misc 
  1096.     menu. 
  1097.  
  1098.  Shell 
  1099.     Shell defines a shell to be opened, when calling the OS/2 Shell function in 
  1100.     the Misc or Transfer menu. This shell is also called with the /C parameter 
  1101.     if you issue a SHELL command from within a ZOC script. 
  1102.  
  1103.  Call Log 
  1104.     This file is a file to which ZOC logs calls to BBSs (C+/C- means 
  1105.     connect/disconnect) and file transfers (DL means download, UL means 
  1106.     upload). However, the Call Log is maintained only, if you have 'Valid CD 
  1107.     signal' enabled (see Serial Options). 
  1108.  
  1109.  Multimedia Eventfiles 
  1110.     These are sounds (WAV or MID) or movies (AVI) to be played to indicate 
  1111.     certain events (of course MMPM/2 has to be installed for this). They should 
  1112.     be entered with full path. 
  1113.  
  1114.  
  1115. ΓòÉΓòÉΓòÉ 5.1.2. Setting up the Tool Bar ΓòÉΓòÉΓòÉ
  1116.  
  1117.  The toolbar makes functions easily accessible offering icons for them. 
  1118.  
  1119. To customize the toolbar you can select/deselect icons from a list by clicking 
  1120. on them with the mouse. Those entries in the list that are drawn with dark 
  1121. background will be shown in the toolbar (if the window is wide enough). 
  1122.  
  1123. Additionally (depending on screen resolution and your personal taste) you can 
  1124. select if you want the icons in the toolbar to be large or small. 
  1125.  
  1126.  
  1127. ΓòÉΓòÉΓòÉ 5.1.3. Redefining the Keyboard ΓòÉΓòÉΓòÉ
  1128.  
  1129.  Generally ZOC produces the correct codes and functions for all keys on the 
  1130. keyboard. If you need customizable keys, you should use the f-keys (available 
  1131. in the macros section of the options booklet). 
  1132.  
  1133. However, in special cases it might be necessary to be able to redefine other 
  1134. keys. 
  1135.  
  1136. Warning: It is not recommended to redefine key combinations that are already 
  1137. covered by ZOC (like the arrow keys). These global keyboard remapping 
  1138. circumvents ZOC's normal key processing (only menu shortcuts take higher 
  1139. precedence) and might interfere with normal operation. 
  1140.  
  1141. To redefine a key, first select the key qualifiers (Shift, Ctrl, Alt, Num Lock, 
  1142. Scroll Lock), then click on a key to bring up the key redefinition window. 
  1143.  
  1144.  
  1145. ΓòÉΓòÉΓòÉ 5.1.4. Redefining One Key ΓòÉΓòÉΓòÉ
  1146.  
  1147.  After you selected a key to be redefined in the keyboard redefinition window, 
  1148. a small window appears into which you can type the new value that is sent if 
  1149. you press that key together with the selected combination of key qualifiers 
  1150. (e.g. Alt+Ctrl+Z). Additionally you can restrict the redefinition to a special 
  1151. terminal emulation, that is, if you need a combination for VT102 only, you 
  1152. would deselect the ANSI checkbox. 
  1153.  
  1154. Note:  Only simple Control Codes as listed in the appendix can be used. 
  1155.  
  1156.  
  1157. ΓòÉΓòÉΓòÉ 5.1.5. Setting up the Phone Cost Description ΓòÉΓòÉΓòÉ
  1158.  
  1159.  Introduction 
  1160.  
  1161. To monitor phone charges you need to describe how the cost is calculated based 
  1162. on the duration, time of day and distance of a call. 
  1163.  
  1164. First you setup up days and times of day that are of interest for the 
  1165. calculation. In most countries it is cheaper to make calls in the evening and 
  1166. on weekends than it is during working hours from Monday to Friday. So, you will 
  1167. probably end up with three blocks of time like 08:00:00-17:59:59 Mo-Fr, 
  1168. 18:00:00-07:59:59 Mo-Fr and 00:00:00-23:59:59 Sa/Su. 
  1169.  
  1170. If, like in Germany, some calls don't depend on the time of day, you would need 
  1171. an additional entry to covers these: 00:00:00-23:59:59 Mo-Fr/Sa/Su. 
  1172.  
  1173. Next, you would give names like local, near, far, intl. to the distance zones 
  1174. in the field after the distance zone letters (A-H). 
  1175.  
  1176. Then you would describe what a call costs at any time of day in the form 
  1177. <cents>/<seconds>@<time of day> (speak cents per second at time of day) for 
  1178. each distance zone. For example, if your telephone company charges 6 cents per 
  1179. minute during working hours and 3 cents per minute during evening hours and 
  1180. weekends, you would enter 6/60@T1, 3/60@T2 and 3/60@T3 in the fields after the 
  1181. distance zone description. 
  1182.  
  1183. Note:  There is an important difference between defining 0.1 cent per one 
  1184. second and 6 cents per sixty seconds. In the former case you will be billed 
  1185. exactly 0.1 cent per second, in the latter you will be billed 6 cents at the 
  1186. beginning of every minute (the minute is called a time-unit). This way you get 
  1187. 18 cents for a 2 minutes 10 seconds call instead of 13 cents (as in the first 
  1188. case). 
  1189.  
  1190. If all this is done correctly you can go to the phone book and edit the entries 
  1191. to assign distance zones to them. After you call such an entry, ZOC will show 
  1192. you the cost of the call in the Status Line, sum it up in the phone book 
  1193. entries memo field (see changing phone book entries) and log it to the call log 
  1194. file (see Directory Options). 
  1195.  
  1196.  Advanced Cost 
  1197.  
  1198. In some countries you have to pay some basic fee for the connection to be made 
  1199. or the first minute is more expensive than later ones. 
  1200.  
  1201. This can be handled by ZOC's cost management if you define a cost like 
  1202. <initial-cents>/<initial-seconds>+<cents>/<seconds>@<time of day>. If, for 
  1203. example, in your country, the first minute of communication costs 15 cents and 
  1204. every later minute costs 12 cents you would set it up as 15/60+12/60@T1 
  1205.  
  1206. This feature can also be used, to make the cost management more acurate. ZOC 
  1207. starts the timer when the remote carrier signal is detected. This might be a 
  1208. few seconds after the actual connection was made. If you have to pay 12 cents 
  1209. for a minute of communication and your modem detects the remote carrier about 
  1210. 10 seconds after the remote modem picked up, you could compensate this delay by 
  1211. defining the cost as 12/50+12/60@T1. 
  1212.  
  1213.  
  1214. ΓòÉΓòÉΓòÉ 5.1.6. Setting up the Phone Book/Dialling Options ΓòÉΓòÉΓòÉ
  1215.  
  1216.  The phone book options control the working of the phone book and of the 
  1217. AutoDialler. 
  1218.  
  1219.  AUTODIAL 
  1220.     The auto dialer is used when you select the dial function from the Phone 
  1221.     Book or from the Modem Menu It tries to connect you to a given number and 
  1222.     retries several times if it fails. You can specify the maximum number of 
  1223.     retries and the time between trials of the same number. If, for example, 
  1224.     you set the time between attempts to 10 seconds and select three entries 
  1225.     from the phone book to be called and the call to all of them fails, the 
  1226.     first one will be called immediately after the third since trying the 
  1227.     second and the third will very likely need more 10 seconds. 
  1228.  
  1229.     Some countries require some time to pass before the next number can be 
  1230.     dialled. So ZOC lets you define the minimum time between tries to call any 
  1231.     number. 
  1232.  
  1233.  MISCELLANEOUS 
  1234.  
  1235.     Load standard options after disconnect 
  1236.        If this option is enabled (which is recommended) ZOC loads the default 
  1237.        option set after you disconnect from a host session. This way you will 
  1238.        have the standard options always active, even after calling a host that 
  1239.        uses unusual options (e.g. a slow transfer speed). 
  1240.  
  1241.     Show phone book after program start 
  1242.        If enabled ZOC will open the phone book directly after being started. 
  1243.  
  1244.     Multiple selection without Ctrl key 
  1245.        Normally you have to hold the control key down to select several non 
  1246.        contiguous entries from the list (which is the way how it is done across 
  1247.        the entire WPS). 
  1248.  
  1249.     Large font 
  1250.        You can choose between a large and a small font to display the list of 
  1251.        hosts in the phone book. 
  1252.  
  1253.     Sort order 
  1254.        Select a sort criteria to control the order in which the hosts are 
  1255.        presented in the main window of the phone book. 
  1256.  
  1257.  IEMSI Defaults 
  1258.     Some BBSs support a method to log in automatically that is called IEMSI 
  1259.     (you can tell if a BBS supports IEMSI from the **EMSI_IRQ it sends before 
  1260.     asking for your name (not to be confused with **EMSI_REQ)). The IEMSI 
  1261.     options are specified for each phone book entry (and are discussed in 
  1262.     Changing Phone Book Entries), the IEMSI options specified here are the 
  1263.     defaults that are used if you create a new phone book entry. 
  1264.  
  1265.  
  1266. ΓòÉΓòÉΓòÉ 5.2. Option Sets ΓòÉΓòÉΓòÉ
  1267.  
  1268. This booklet contains all options.  Select a tab with the mouse to open the 
  1269. according dialog. 
  1270.  
  1271. Available tabs are: Serial, Terminal, Logging, Modem, Transfer, Emulation, 
  1272. Macro Keys, AutoMacros, Custom Buttons, AutoReply, Window, Safety, Character 
  1273. Translation. 
  1274.  
  1275.  
  1276. ΓòÉΓòÉΓòÉ 5.2.1. Serial Options ΓòÉΓòÉΓòÉ
  1277.  
  1278.  This window is used to define serial parameters.  It can be opened via menu or 
  1279. by clicking on the transfer speed button in the status line. 
  1280.  
  1281.  Transmission 
  1282.     In this section you define how data is transferred between your computer 
  1283.     and the modem (which is not necessarily the same way the modem uses to 
  1284.     transfer data across the telephone line).  You have to select a speed (bits 
  1285.     per second), the number of databits, a parity mode (none, even, odd, mark 
  1286.     or space) and the number of stop bits. 
  1287.  
  1288.     What you use depends mostly on your host (and, of course, on your modem 
  1289.     limits). 
  1290.  
  1291.     These settings are often given (e.g. in instructions of how to call a host) 
  1292.     in an abbreviated version, like 38400-8N1 (38400 bits per second, 8 data 
  1293.     bits, no parity, one stop bit). 
  1294.  
  1295.     Note:  If you have a modem with data compression (MNP5 or V.42) you should 
  1296.     use a speed that is higher than the actual speed your modem supports. 
  1297.     Today 14,400 bps modems are very popular.  These use online data 
  1298.     compression which allows them to transfer actually more than the 
  1299.     theoretical maximum of 1440 bytes per second.  To take advantage of this, 
  1300.     you should access these modems with 19,200 or 38,400 bps. 
  1301.  
  1302.  RTS/CTS handshake 
  1303.     If enabled, ZOC uses RTS/CTS hardware handshake for communication with your 
  1304.     modem. 
  1305.  
  1306.     RTS/CTS is used to control the flow of data between the computer and the 
  1307.     modem and provides a way for both to prevent the other from sending data. 
  1308.  
  1309.     This is essential for file transfers when the speed of the modem to modem 
  1310.     connection is different from the modem to computer connection (which is 
  1311.     true for MNP5 of V.42 modems).  It is also essential in a multitasking 
  1312.     environment where the processor might have other things to do when data 
  1313.     arrives. 
  1314.  
  1315.     Thus, it is highly recommended to have this option enabled.  However, the 
  1316.     modem needs to support it as well, so check your modem manual for the 
  1317.     proper modem command to "enable bi-directional RTS/CTS hardware flow 
  1318.     control" for use in the modem init string (see Modem Options). 
  1319.  
  1320.  DSR handshake 
  1321.     This DSR/DTR handshake is somewhat similar to RTS/CTS as it is a handshake 
  1322.     method as well.  It does not control the data flow, but the general 
  1323.     availability of the modem and computer (i.e. if these are turned on). 
  1324.  
  1325.     If enabled, ZOC monitors the DSR signal for communication with the modem. 
  1326.     This option should only be enabled if your modem and your cable properly 
  1327.     provide the DSR signal.  Otherwise ZOC will be blocked. 
  1328.  
  1329.  XON/XOFF 
  1330.     If enabled, ZOC uses the Xon/Xoff software handshake for communication 
  1331.     (which is yet another method to control the data stream).  It uses special 
  1332.     characters to hold/release the sender.  This method is inferior to RTS/CTS 
  1333.     handshaking and should only be used if necessary. 
  1334.  
  1335.  Valid CD signal 
  1336.     If your modem supports the Carrier Detect (CD) signal (most modems will do 
  1337.     this if you add AT&C1 to the modem init string in the Modem Options), you 
  1338.     should enable this option (which is highly recommended). 
  1339.  
  1340.     ZOC uses the CD signal to control the connection timer and phone cost 
  1341.     calculation as well as to write a calling log to the file defined in Path 
  1342.     Options. 
  1343.  
  1344.  AutoSpeed 
  1345.     If enabled, ZOC automatically sets the transfer speed to the one received 
  1346.     when the modem sends a message like 'CONNECT xxxxx'. 
  1347.  
  1348.     This should not be used if you use a modem that is capable of data 
  1349.     compression (as MNP5 and V.42 modems are)! 
  1350.  
  1351.  Device 
  1352.     You specify the device to which your modem is connected here (probably COM1 
  1353.     or COM2).  Additionally you can select that ZOC should release the device 
  1354.     when the window is minimized to let you use a FAX program or another 
  1355.     communications program (alas!) without having to close ZOC. 
  1356.  
  1357.  Break signal duration 
  1358.     The duration that is used for sending a break signal (some hosts use this 
  1359.     to break an operation) when pressing Ctrl+End.  It is given in milliseconds 
  1360.     and typically ranges from 250 to 400 ms. 
  1361.  
  1362.  Timeout Control 
  1363.     These options control what should happen if no characters have been sent or 
  1364.     received for some time. 
  1365.  
  1366.     After a timeout occurred you can have ZOC send something to your host to 
  1367.     prevent disconnection.  In this case it is a good idea to use a string that 
  1368.     does not invoke any unwanted action (like paging the sysop for a chat), but 
  1369.     something neutral like ^M (enter), ^! (break signal) or * (which jumps to 
  1370.     the main menu on some hosts). 
  1371.  
  1372.     If you don't like this, you can have ZOC hangup after a timeout. 
  1373.  
  1374.     If you do not want any timeout control at all, set the time to zero. 
  1375.  
  1376.  
  1377. ΓòÉΓòÉΓòÉ 5.2.2. Creating a Modem Init String ΓòÉΓòÉΓòÉ
  1378.  
  1379.  It sometimes is not easy to find the proper modem init string.  Some comm 
  1380. programs offer modem databases but with new modems coming to the market almost 
  1381. every day it is hard to ensure correctness of these. 
  1382.  
  1383. On the other side, it is not very hard to dig the correct commands from the 
  1384. modem manual if one knows what to look for. 
  1385.  
  1386. Modems with data compression have a rather tricky setup, but since modem 
  1387. manufacturers don't want to spend all their profits on customer support, almost 
  1388. all of these modems have two factory profiles: Data compression enabled and 
  1389. disabled. 
  1390.  
  1391. These profiles can be activated by using rather simple commands (probably 
  1392. AT&F1), so it is very likely that all you have to do, is to check your modem 
  1393. manual for factory profile command and use that as the modem init string, e.g. 
  1394. AT&F1^M (if you use data compression make sure you have RTS/CTS and a 
  1395. high-speed enabled in the Serial Options). 
  1396.  
  1397.  
  1398. ΓòÉΓòÉΓòÉ 5.2.3. Terminal Options ΓòÉΓòÉΓòÉ
  1399.  
  1400.  This window is used to define general terminal characteristics. It can be 
  1401. opened from the menu or by double clicking the space between the buttons in the 
  1402. status line. 
  1403.  
  1404.  TERMINAL 
  1405.  
  1406.     Incoming CR -> CR/LF 
  1407.        This options ensures, that each incoming Carriage Return is followed by 
  1408.        a Line Feed.  Use this if received text is printed over and over in the 
  1409.        same line without advancing to the next. 
  1410.  
  1411.     Strip high bit 
  1412.        If enabled, all characters in the terminal window are printed with 7 
  1413.        bits. This can be used if you receive graphical characters where text 
  1414.        should appear (of course, it does not help if bursts of noise from the 
  1415.        phone line send garbage to your screen). 
  1416.  
  1417.     Show ctrl chars 
  1418.        Show received control-codes as plain text (e.g. ^I for TAB) instead of 
  1419.        using them.  It is used mostly for problem determination. 
  1420.  
  1421.     Show hex dump 
  1422.        This options shows incoming characters as hexadecimal values. It is used 
  1423.        only for problem determination. 
  1424.  
  1425.     Destructive backspace 
  1426.        This options erases characters from the screen if a backspace is 
  1427.        received (instead of just moving the cursor back one step). 
  1428.  
  1429.     Local echo 
  1430.        Print all manually typed characters to the terminal window (normally the 
  1431.        host sends all typed characters back to display them). This option 
  1432.        should be used if you use a half duplex connection (which are pretty 
  1433.        rare these days) or if you type to a host that does not provide an host 
  1434.        echo (e.g. if you called a friend's computer who uses a terminal program 
  1435.        as well; however, in this case you are better off with the Split Chat 
  1436.        from the Misc Menu). 
  1437.  
  1438.     Send echo 
  1439.        Loop back all incoming characters to the originator. 
  1440.  
  1441.        Warning: This may result in an endless loop if the originator also sends 
  1442.        an  echo (!!!), which is true for most and hosts. 
  1443.  
  1444.        You can use this, if a friend called you with his modem. 
  1445.  
  1446.     Translate characters 
  1447.        If you call a host that uses a different character set than your 
  1448.        computer, it is possible to have ZOC translate these into your native 
  1449.        character set (see translation).  The translation can be disabled using 
  1450.        this option. 
  1451.  
  1452.     Beep 
  1453.        This option controls what to do for a beep.  Choices are ignore 
  1454.        (unchecked), acoustic (checked) or visual (shaded). 
  1455.  
  1456.  CLIPBOARD SENDING 
  1457.  
  1458.     Quote always smart 
  1459.        If selected, the Send-Quoted function from the Cliptext Menu will always 
  1460.        try to reformat the text before sending it.  When disabled, reformatting 
  1461.        is still available by holding the shift key pressed. 
  1462.  
  1463.     Width 
  1464.        Reformatting for smart quoting will be done in a way that no line is 
  1465.        longer than the number of characters specified here. 
  1466.  
  1467.     Always send quick 
  1468.        Selecting this option will always send marked text at once if only one 
  1469.        line is marked on the screen.  Otherwise the text will be sent at once, 
  1470.        if you hold the Shift key pressed while doing a one-line selection. 
  1471.  
  1472.  SCROLL-LOCK KEY ACTION 
  1473.     This option lets you map events to the scroll lock key. 
  1474.  
  1475.     Ignore Scroll Lock
  1476.        ZOC ignores the scroll lock state of the keyboard. 
  1477.  
  1478.     Activate chat field
  1479.        Pressing the Scroll Lock key toggles the chat field (see Window Options 
  1480.        and Screen Elements). 
  1481.  
  1482.     Toggle doorway mode
  1483.        Pressing the Scroll Lock key toggles the keyboard Doorway mode. (Doorway 
  1484.        mode is a mode in which special key codes are used. It is required by 
  1485.        software like OS2YOU). 
  1486.  
  1487.  
  1488. ΓòÉΓòÉΓòÉ 5.2.4. Logging Options ΓòÉΓòÉΓòÉ
  1489.  
  1490.  This window is used to define capture parameters. 
  1491.  
  1492.  Default name 
  1493.     When you start ZOC, this name will be used as a default name for the 
  1494.     logfile. You may use special place holders in the name to be substituted by 
  1495.     ZOC with values like the current month to create dynamic names (see Special 
  1496.     Codes in the appendix). The file will be placed in the log directory set in 
  1497.     Path Options unless you supply a path with the name. 
  1498.  
  1499.  Now active 
  1500.     Enable saving incoming data in the logfile.  This is the same as the 
  1501.     checkmark near the log file name in the status line. 
  1502.  
  1503.  Append 
  1504.     If logging is activated, data is appended to a existing file rather than 
  1505.     overwriting it when you start logging. 
  1506.  
  1507.  Session headers 
  1508.     Session headers are a few lines of information which are inserted into your 
  1509.     capture and log file when connecting to a host.  This can only be done if 
  1510.     you have a valid Carrier Detect signal (see Serial Options). 
  1511.  
  1512.  DC2/DC4 control 
  1513.     Some hosts (i.e. CompuServe's mail system) are able to remotely control 
  1514.     your logging by sending DC2 and DC4 characters (the check mark in the 
  1515.     status line will turn gray if the hosts suspends logging for you).  This 
  1516.     can be disabled. 
  1517.  
  1518.      Size
  1519.     Define the size of the memory buffer to hold data for reviewing sessions. 
  1520.  
  1521.  
  1522. ΓòÉΓòÉΓòÉ 5.2.5. Emulation Options ΓòÉΓòÉΓòÉ
  1523.  
  1524.  This window is used to set the emulation.  It can be opened via menu or by 
  1525. clicking on the emulation button in the status line. 
  1526.  
  1527.  Swap keys 
  1528.     If you enable the keys swap option, a Backspace is sent when the DEL key is 
  1529.     pressed and vice versa, if you are in VT102 mode. This is helpful for many 
  1530.     VT102 systems. 
  1531.  
  1532.  Discard codes 
  1533.     Screen control for ANSI and VT102 is done by sending special control codes. 
  1534.     Logging of these control codes in the capture/log file should be disabled 
  1535.     since it makes reading of these rather hard. 
  1536.  
  1537.     This option is unavailable during TTY emulation. 
  1538.  
  1539.  Disable VT102 key pad 
  1540.     In VT102 mode the numeric key pad is used as a replacement for VT102 
  1541.     auxiliary keypad (see VT102-keyboard).  This can be problematic if you are 
  1542.     using the cursor keys in the numeric keypad instead of the gray cursor 
  1543.     keys.  Enable this option, if you are using the numeric cursor keys and if 
  1544.     you don't need the VT102 keypad in your applications. 
  1545.  
  1546.     This option is unavailable during ANSI and TTY emulation. 
  1547.  
  1548.  
  1549. ΓòÉΓòÉΓòÉ 5.2.6. File Transfer Options ΓòÉΓòÉΓòÉ
  1550.  
  1551.  These settings define the characteristics of file transfers. They are accessed 
  1552. via the Options/Settings notebook or by clicking the file transfer protocol 
  1553. button in the status line. 
  1554.  
  1555.  PROTOCOL 
  1556.     Select X- Y- or Zmodem protocol. 
  1557.  
  1558.     Note:  Some systems falsely offer protocols named Ymodem and Ymodem batch, 
  1559.     which really are Xmodem with Block-1024 for Ymodem and Ymodem for 
  1560.     Ymodem-Batch. 
  1561.  
  1562.     Note:  Other protocols are available as add in modules an can be found in 
  1563.     the Plugs function (located in the Transfer menu). 
  1564.  
  1565.  IF FILE EXISTS 
  1566.     Select what you want to do if you try to download a file that already 
  1567.     exists on your system.  Additionally specify if you want the old (existing) 
  1568.     or the new (incoming file) renamed (if rename is chosen). 
  1569.  
  1570.  Special file extensions 
  1571.     ZOC lets you list extensions of files that should be downloaded to an 
  1572.     alternate directory (see Directory Options) and files that should be 
  1573.     deleted after they are uploaded successfully. 
  1574.  
  1575.     The extensions may contain the * and ? wildcard characters and need to be 
  1576.     separated by vertical bars (without space characters) like this: 
  1577.     GIF|Q*|MO?|TU? 
  1578.  
  1579.     Note:  Just specify file extensions, no full file names like like 
  1580.     *.GIF|ABC.DOC 
  1581.  
  1582.  XMODEM 
  1583.     These options only apply when the Xmodem protocol is selected. 
  1584.  
  1585.     CRC on 
  1586.        CRC is controlled by the receiver of a file.  CRC can be used instead of 
  1587.        the less reliable Xmodem checksums. 
  1588.  
  1589.     Blocksize 1024 
  1590.        With this option Xmodem uses blocks of 1024 instead of 128 bytes.  Some 
  1591.        systems falsely call this Ymodem.  The block size is controlled by the 
  1592.        sender. 
  1593.  
  1594.     Chop pads 
  1595.        If enabled, ZOC tries to remove padding bytes at the end when receiving 
  1596.        a file. 
  1597.  
  1598.  ASCII-UPLOAD 
  1599.     These options are used for ASCII-Uploads and for sending the clipboard 
  1600.     contents. 
  1601.  
  1602.     CR -> CR/LF 
  1603.        Ensures that each Carriage Return is followed by a Linefeed. 
  1604.  
  1605.     Char-Delay 
  1606.        ZOC waits n milliseconds, before sending each character.  Four times 
  1607.        this time is waited at the end of each line. 
  1608.  
  1609.  MISCELLANEOUS 
  1610.  
  1611.     Start picture viewers 
  1612.        ZOC is able to show pictures while downloading them.  For this purpose 
  1613.        the files TAP_GIF.EXE and TAP_JPG.EXE are provided in your ZOC 
  1614.        directory. If you don't like this feature, it can be disabled (you still 
  1615.        can start a viewer manually from the WPS before downloading a picture). 
  1616.  
  1617.     Time critical 
  1618.        Enabling this options boosts ZOC's priority during file transfers, which 
  1619.        might help to increase transfer throughput and reduce transfer errors in 
  1620.        some very special cases. 
  1621.  
  1622.        Warning: This will very likely impair the performance of other tasks. 
  1623.  
  1624.  ZMODEM 
  1625.  
  1626.     Auto transfer 
  1627.        If enabled, ZOC starts Zmodem transfers automatically. 
  1628.  
  1629.     Ignore time stamp 
  1630.        Select this option, if you want received files to be marked with the 
  1631.        date/time of download, instead of being marked with the time stamp the 
  1632.        file carried on the file system of the sender. 
  1633.  
  1634.  ZMODEM (UPLOAD ONLY) 
  1635.     These options apply only to uploads.  They are only effective, if the 
  1636.     receiver is able and willing to handle them, so they may or may not have an 
  1637.     effect on an actual file transfer, depeding on the receiver's Zmodem 
  1638.     implementation (they work best when used to send files to Omen Technology's 
  1639.     RZ or DSZ, which is available on various platforms including Unix, VMS and 
  1640.     MS-DOS). 
  1641.  
  1642.     You can specify that you want the receiver to convert carriage returns and 
  1643.     line feed according to it's platform and you can suggest what the receiver 
  1644.     should do if a file aready exists on it's  machine.  Options are to use the 
  1645.     receiver's default action, to always overwrite files, to overwrite files if 
  1646.     their file date is older, to resume an aborted file transfer or append the 
  1647.     data to the existing files (the corresponding Unix SZ options are -p, -y, 
  1648.     -n, -r, -+). 
  1649.  
  1650.  
  1651. ΓòÉΓòÉΓòÉ 5.2.7. Modem Options ΓòÉΓòÉΓòÉ
  1652.  
  1653.  This window is used to define the strings ZOC uses to communicate with your 
  1654. modem.  These strings may contain control characters (e.g. ^M, see Special 
  1655. Codes), the tilde (~, which is a delay of 1/3 sec) and ^# to be substituted 
  1656. with a phone number. 
  1657.  
  1658.  Initialization 
  1659.     This is a list of modem commands to set the modem to a given state before 
  1660.     using it.  You should be aware that ZOC (unlike some other programs) 
  1661.     requires a ^M at the end of the initialization string. 
  1662.  
  1663.     If you don't know what to use for the initialization string, please check 
  1664.     the Modem Init section of this help file for advice. 
  1665.  
  1666.     Depending on your setup, you might want to send the initialization string 
  1667.     every time you load an options file (thus having different options files 
  1668.     for different modem configurations). 
  1669.  
  1670.     Normally ZOC does not send an init sequence if it finds a carrier detect 
  1671.     signal from the modem (thus preventing a modem reset while you are online). 
  1672.     However, some modems provide a CD signal after power on.  In this case you 
  1673.     should enable this option (and add AT&C1 to the modem init string to tell 
  1674.     the modem to provide a real carrier detect signal). 
  1675.  
  1676.  Dialling 
  1677.     ZOC lets you set up four dial commands for calling different types of 
  1678.     numbers (i.e. using a credit card number to make long distance calls).  You 
  1679.     can select the dial command to be used from the Phone Book and when dialing 
  1680.     manually (from the Modem Menu). 
  1681.  
  1682.     The dial commands need to consist a ^# sequence to be substituted with the 
  1683.     phone number you want to call, thus a standard dial command would look like 
  1684.     ATDT ^#^M (meaning send ATDT, then the phone number and then enter). 
  1685.  
  1686.     If you want to issue a modem command before dialing you should add some 
  1687.     tilde characters between the modem and the dial command (like in 
  1688.     ATZ^M~~~ATDT ^#^M) to give the modem time to process the former. 
  1689.  
  1690.  Hangup 
  1691.     ZOC supports two methods of telling a modem to hang up.  Using the DTR 
  1692.     signal of the com port is the superior of the two.  If you disable it, ZOC 
  1693.     will use the ATH command. 
  1694.  
  1695.  Auto answer 
  1696.     Here you supply two modem commands to enable and disable the modem's auto 
  1697.     answer mode.  These are ATS0=1^M and ATS0=0^M for basically all modems. 
  1698.  
  1699.  Modem Response Strings 
  1700.     Here you provide ZOC with the responses the modem sends when making or 
  1701.     failing to make a connection.  These are used by ZOC to determine if a 
  1702.     connection was made, if ZOC has to redial or if ZOC should abort the 
  1703.     dialling process (e.g. because of an incoming call). 
  1704.  
  1705.     The modem responses have to be separated by a vertical bar (|) without 
  1706.     spaces like CARRIER|CONNECT. 
  1707.  
  1708.  DTR Control for DOS-Transfer 
  1709.     These are two special modem control commands which are needed to give DOS 
  1710.     programs access to a ZOC session (see Transfer DOS-Shell). These commands 
  1711.     need to switch the modem's DTR action from hangup to ingore and vice versa 
  1712.     while being online.  By default this is achived, by sending the modem's 
  1713.     escape string with a pause of 1.3 seconds (+++~~~~), then sending the modem 
  1714.     command to set DTR action and giving the modem time to OK (ATDx^M~~). After 
  1715.     that the modem is switched back to online operation (ATO^M). These commands 
  1716.     may vary with some modems brands; if they don't work with your's, please 
  1717.     check your modem manual for equivalent commands. 
  1718.  
  1719. Note:  This page of the options booklet may be protected by a password (see 
  1720. Safety Options) since some people store card call numbers in the dial prefixes. 
  1721.  
  1722.  
  1723. ΓòÉΓòÉΓòÉ 5.2.8. F-Key Macro Definition ΓòÉΓòÉΓòÉ
  1724.  
  1725.  It is possible to map text or REXX file execution onto the F4-F12 or 
  1726. Shift+F1-F12 keys (F1-F4 are not available, since they are used in VT102 and to 
  1727. provide help; if you need to define F1-F4 anyway, it is possible to redefine 
  1728. them using Global Keyboard Remapping which always takes precedence over this 
  1729. function). 
  1730.  
  1731. The execution of a script file can be mapped onto a function key by defining 
  1732. the key as ^RUN=<scriptname> (e.g. ^RUN=MY_SCRIPT). 
  1733.  
  1734. If you use the special code of ^& in a macro key, ^& will be substituted with 
  1735. the value of the password field of a phone book entry after you successfully 
  1736. connected to that host via the phone book (see phone book entries). 
  1737. Additionally there are special codes for date and time of day.  Check Special 
  1738. Codes in the appendix for a complete list. 
  1739.  
  1740. Note:  This page of the options booklet may be protected by a password (see 
  1741. Safety Options). 
  1742.  
  1743.  
  1744. ΓòÉΓòÉΓòÉ 5.2.9. Definition of the AutoMacros ΓòÉΓòÉΓòÉ
  1745.  
  1746.  Besides the function key macros ZOC provides so called Auto-Macros.  The idea 
  1747. of AutoMacros is borrowed from text processing where (at least in good 
  1748. programs) the feature is called Auto-Correct or Auto-Text. 
  1749.  
  1750. You can think of AutoMacros as abbreviations.  Whenever ZOC finds that you 
  1751. typed some text that is found in the abbreviations, ZOC will replace it with 
  1752. the full text you provide here.  This is done by sending backspace characters 
  1753. to delete the abbreviation (if necessary) and then sending the full text (if 
  1754. the abbreviation and the full text begin with the same characters  ZOC will 
  1755. only backspace the part at the end that differs, like Datcom and 
  1756. Datacommunication). 
  1757.  
  1758. To avoid erroneous replacement of characters that belong to a word, 
  1759. abbreviations are matched case sensitive and replaced only if there is a non 
  1760. alphanumeric character typed before and after the text.  So, if you defined Com 
  1761. as an abbreviation it will be replaced if you type Data-Com_ or Com-Port, but 
  1762. not if you type The Com1-Port or DataCom_. 
  1763.  
  1764. Besides correction of typing errors there are many other uses for this feature 
  1765. in a terminal application. 
  1766.  
  1767. o Abbreviations for commonly used phrases like Ttyl being replaced with Talk to 
  1768.   you later 
  1769.  
  1770. o Abbreviations for logins like replacing MS with Markus Schmidt^Msecret (to 
  1771.   send user name and password at login prompts). 
  1772.  
  1773. o Abbreviations for commands when using a shell on a UNIX or VAX host. (e.g. 
  1774.   using lo instead of logout). 
  1775.  
  1776. o Nicknames for e-mail addresses (like replacing ms@ with 
  1777.   m.schmidt@msn.rmi.de). 
  1778.  
  1779. Note:  This feature is disabled during REXX and script execution and during 
  1780. AutoLogin and Learn mode. 
  1781.  
  1782. Note:  You can enter text into a Full Text field only if the corresponding 
  1783. Abbreviation field is non empty. 
  1784.  
  1785. Note:  This feature is similar to the AutoReplies and some results can be 
  1786. achieved by using both methods.  However there are some important differences: 
  1787. 1) AutoReplies monitor the incoming data stream (sent by the host), AutoMacros 
  1788. watch the keystrokes from the keyboard. 2) AutoReplies can invoke REXX 
  1789. programs, AutoMacros can't. 
  1790.  
  1791. Note:  It is a good idea to append a period or an exclamation mark to the 
  1792. abbreviation text (like MS. or lo!) to make it really unique.  This way 
  1793. inadvertent invocation of the full text will be highly unlikely. 
  1794.  
  1795.  
  1796. ΓòÉΓòÉΓòÉ 5.2.10. Definition of the Custom Button Bar ΓòÉΓòÉΓòÉ
  1797.  
  1798.  Below the tool bar reside a group of user defined buttons that can be 
  1799. specified here.  You can set the value to be sent when the button is clicked 
  1800. with the mouse as well as a short text to describe the button (which is shown 
  1801. inside the button in the custom button bar). 
  1802.  
  1803. It is possible to use the button for script execution, as well as for sending 
  1804. text (that may contain control codes), a password or the value of a function 
  1805. key. 
  1806.  
  1807. Please check Special Codes in the appendix for a complete list. 
  1808.  
  1809. Note:  This page may be protected by a password (see Safety Options). 
  1810.  
  1811.  
  1812. ΓòÉΓòÉΓòÉ 5.2.11. Definition of the AutoReplies ΓòÉΓòÉΓòÉ
  1813.  
  1814.  Auto replies provide a way to automatically send text or invoke REXX programs 
  1815. (or other magic) whenever a group of specific characters is received. 
  1816.  
  1817. To do this, you just enter the text that invokes the action in the 
  1818. Incoming-Text field and provide some text or a REXX name (preceded by ^RUN=, 
  1819. see Special Codes) in the Action field. 
  1820.  
  1821. This feature can be used to 
  1822.  
  1823. o Automate logins: You could automatically send your username and password (or 
  1824.   ^&, see Special Codes) when receiving the text User name? 
  1825.  
  1826. o Skip birthday checks: Some hosts ask for your date of birth now and then to 
  1827.   make sure no one else uses your account.  Using AutoReplies you can provide 
  1828.   the date automatically when receiving the prompt. 
  1829.  
  1830. o Reading mail: When you receive the You have mail notification from your unix 
  1831.   host, you could start your mail reader by replying ELM^M. 
  1832.  
  1833. Warning: You should make sure that the text you are looking for really is 
  1834. unique.  It is better to wait for the text --More-- than it is to wait for More 
  1835. to automatically answer such prompts. 
  1836.  
  1837. Note:  This feature is disabled during REXX and script execution and during 
  1838. AutoLogin and Learn mode. 
  1839.  
  1840. Note:  You can enter text into an Action field only if the corresponding 
  1841. Incoming Text field is non empty. 
  1842.  
  1843. Note:  This feature is a bit similar to the AutoMacros, please check the note 
  1844. about the differences provided there. 
  1845.  
  1846.  
  1847. ΓòÉΓòÉΓòÉ 5.2.12. Window Definition ΓòÉΓòÉΓòÉ
  1848.  
  1849.  SCREEN ELEMENTS 
  1850.  
  1851.     Initial Help 
  1852.        Here you can turn off the help window that appears when you start ZOC. 
  1853.  
  1854.     Menu 
  1855.        Since ZOC shows a popup-menu when you click the right mouse button in 
  1856.        the main window, you can disable the permanent menu below the title bar. 
  1857.  
  1858.     Tool bar 
  1859.        Here you can turn the toolbar on or off. 
  1860.  
  1861.     Custom button bar 
  1862.        Here you can turn the strip with custom buttons that appears below the 
  1863.        toolbar on or off. 
  1864.  
  1865.     Chat field 
  1866.        Here you can turn off the chat field (see screen elements). The chat 
  1867.        field is an input field above the status line that lets you type, edit 
  1868.        and retrieve earlier typed text.  The text is sent to the host when you 
  1869.        press enter.  This is useful if you join an online conference with many 
  1870.        people or if you work with a shell on the remote host that does not 
  1871.        provide command editing or a command history. 
  1872.  
  1873.        The chat field can be turned on and off with the Scroll-Lock key as well 
  1874.        if you defined this in terminal options, or by pressing Alt+C. 
  1875.  
  1876.        Note:  To chat with a friend who called you, you better use the Split 
  1877.        Chat feature from the Misc Menu. 
  1878.  
  1879.     Status line 
  1880.        Here you can select, if you want to see the status line. 
  1881.  
  1882.     Snippets 
  1883.        ZOC monitors your input data stream for filenames, fido node numbers, 
  1884.        CompuServe user IDs and Internet user IDs and collects them in a little 
  1885.        window that floats aside the ZOC window (see Misc Menu).  With this 
  1886.        option you can hide (grayed) or show (checked) the window or turn this 
  1887.        feature off (unchecked) to save CPU load. 
  1888.  
  1889.        Note:  You can change the font of the Snippets window by dragging a font 
  1890.        from the System->Setup->Fonts folder of OS/2 and dropping it above the 
  1891.        Snippets window. 
  1892.  
  1893.  WINDOW SIZE 
  1894.     You can select the window size here (columns by rows).  Additionally you 
  1895.     can specify if you want ZOC to change the number of rows and columns after 
  1896.     the window was sized with the mouse, or if ZOC should keep the size and add 
  1897.     scroll bars instead. 
  1898.  
  1899.  WINDOW (FONT/COLOR/HANDLING) 
  1900.  
  1901.     Font size 
  1902.        Select a font size for the terminal window from the list (the selection 
  1903.        of other fonts than System VIO is not possible).  Additionally you can 
  1904.        select that ZOC should try to find a fitting font (while retaining the 
  1905.        same number of rows and columns) after the window was sized with the 
  1906.        mouse. 
  1907.  
  1908.     Hide while dialing 
  1909.        If you don't want the large ZOC window around while dialing you can 
  1910.        select this option.  In this case ZOC will hide while dialing, just 
  1911.        leaving the small dial progress window on the screen, and come back 
  1912.        after it made a connection (or failed to do so). 
  1913.  
  1914.     To front when carrier detect 
  1915.        If set, the main window of ZOC will come to the top of all windows if 
  1916.        the modem carrier detect signal is switched on (as it is when connecting 
  1917.        to your host).  This way you can have ZOC dial in the background and 
  1918.        jump in if a connection was made. 
  1919.  
  1920.     Minimize during file transfer 
  1921.        If you don't want the large ZOC window around during a file transfer is 
  1922.        going on, this options minimizes the ZOC's main window after starting 
  1923.        the transfer. 
  1924.  
  1925.     To front after file transfer 
  1926.        If set, the main window of ZOC will come to the top of the desktop after 
  1927.        a file transfer has been completed.  This way you can put ZOC aside to 
  1928.        do other work during a file transfer without missing the transfer's end. 
  1929.  
  1930.  BROWSE WINDOW FONT 
  1931.     Select a font size for the browse window (that shows the capture buffer). 
  1932.     The selection fonts other than System VIO is not possible. 
  1933.  
  1934.  NATIONAL SUPPORT 
  1935.     If your host sends a character set that is supported by an IBM code page 
  1936.     you can specify it here. 
  1937.  
  1938.  SCROLL JUMPS 
  1939.     While offering superior ease of use, graphical user interfaces like the 
  1940.     OS/2 WPS have to handle far greater amounts of memory to maintain their 
  1941.     displays than text based user interfaces have (e.g. a character in a text 
  1942.     mode application is stored in two bytes while a 8 by 14 character on a 256 
  1943.     color screen uses 104 bytes). 
  1944.  
  1945.     This results in rather high CPU load, especially when scrolling.  Because 
  1946.     of this, ZOC is only able to write text to the screen with about 4800 bps 
  1947.     if the text appears at the bottom of the window and it's necessary to 
  1948.     scroll up.  However, you can allow ZOC to delays scrolling until a few 
  1949.     lines (e.g. five) of text have arrived.  This way ZOC saves CPU cycles 
  1950.     (since it needs to move the image only one instead of five times and since 
  1951.     it does not make a difference how far it is moved). Obviously output speed 
  1952.     benefits from this (while the scrolling appears rather "jumpy" instead of 
  1953.     smooth).  The farther the jumps you select (normally flea jumps should be 
  1954.     enough) the more lines ZOC will collect before actually scrolling and the 
  1955.     faster output will be. 
  1956.  
  1957.  SHOW TIMER AS 
  1958.     This option controls the display of the phone cost in the status line. 
  1959.  
  1960.     Money 
  1961.        Show the time elapsed since connecting to a host (or resetting the 
  1962.        timer) as a money value (according to the Cost Setup). 
  1963.  
  1964.     Fraction 
  1965.        Show how many cost units are used so far. 
  1966.  
  1967.     Online time 
  1968.        Show the time elapsed since connecting to a host. 
  1969.  
  1970.  MISCELLANEOUS 
  1971.  
  1972.     Disable RD/SD LEDs
  1973.        Here you can turn off the (maybe annoying and, more important, processor 
  1974.        time consuming) flashing of the third and fourth LED in the Status Line 
  1975.        that emulate the modem receive-data and send-data LEDs.  If the 
  1976.        checkmark is in indefinite state (shaded) the LEDs will be enabled 
  1977.        during text output but disabled during file transfer (which is highly 
  1978.        recommended unless your computer is a real killer machine). 
  1979.  
  1980.     Big cursor
  1981.        Enabling this option makes the cursor in the main window a bit bigger. 
  1982.  
  1983.  
  1984. ΓòÉΓòÉΓòÉ 5.2.13. Safety Options ΓòÉΓòÉΓòÉ
  1985.  
  1986.  Define if you want to be warned before performing "dangerous" operations or if 
  1987. you want to protect the setting of the macro keys and custom buttons. 
  1988.  
  1989.  Confirm ... 
  1990.     This should be self explanatory. 
  1991.  
  1992.  Warning if high-speed ... 
  1993.     The RTS/CTS handshaking method provides reliable control of the data flow 
  1994.     between the PC and the modem.  If you use high transfer speeds without 
  1995.     RTS/CTS handshake you will very likely encounter transmission errors. 
  1996.     Enabling this option gives you a warning if you select more than 4800 baud 
  1997.     without selecting RTS/CTS as well. 
  1998.  
  1999.  Save options ... 
  2000.     Here you can select if you want to save options automatically when you 
  2001.     leave the program. 
  2002.  
  2003.  Lock Macro Keys 
  2004.     If you leave your computer unattended for a while, you can lock the macro 
  2005.     keys to prevent unauthorized use.  To unlock them, input of the password 
  2006.     you define below is required. Locking can also be initiated from the Misc 
  2007.     Menu. 
  2008.  
  2009.  Password 
  2010.     If a password is specified, the dialogs for Macro Key Definition, User Bar, 
  2011.     Modem, Keymacro Unlocking (in the Misc Menu) and Phone Book Definition (if 
  2012.     it contains a password) will ask for it, because often passwords to access 
  2013.     online services are stored in these places. 
  2014.  
  2015.         CAUTION:
  2016.     The password is case sensitive. However, all this is far from industrial 
  2017.     strength protection. It just gives you protection against casual attempts 
  2018.     to gain access to your data 
  2019.  
  2020.  
  2021. ΓòÉΓòÉΓòÉ 5.2.14. Translation of Inbound/Outbound Characters ΓòÉΓòÉΓòÉ
  2022.  
  2023.  Users in countries that do not use the US-Ascii character set often end up 
  2024. with the problem that the codes of characters that are sent by the host do not 
  2025. match the codes used by the terminal program/operating system. 
  2026.  
  2027. This dialog lets you define the translation of the codes of received and sent 
  2028. characters or reset these tables to their default (non translating state). 
  2029.  
  2030. Note:  The translations are only active if the Translate Character option is 
  2031. enabled in the Terminal Options. 
  2032.  
  2033. Assumed your host sends (and needs to receive) the character  { instead of the 
  2034. German letter  ╨₧ (as some hosts in Germany do) and you have the letter  ╨₧ on 
  2035. your keyboard.  In this case you would change the code 123 of the receive table 
  2036. into 142 ('123 { -> 142 ╨₧' would appear in the window) to translate the 
  2037. incoming character correctly to your screen and you would convert code 142 of 
  2038. the send table into 123 to send the code the host expects if the you press the 
  2039. ╨₧-key. 
  2040.  
  2041.  
  2042. ΓòÉΓòÉΓòÉ 6. ZOC Automation ΓòÉΓòÉΓòÉ
  2043.  
  2044.  There are two methods available to automate your work using ZOC: 
  2045. REXX-Programming and Script-Programming. 
  2046.  
  2047. The REXX interface was introduced in V2.0 and should be used instead of the 
  2048. scripts since it has superior execution control (loops, decisions) and variable 
  2049. management. 
  2050.  
  2051. Scripts are (and will be) maintained for downward compatibility (they were the 
  2052. sole method of automation in the 1.x versions of ZOC) but will not be improved 
  2053. in future. 
  2054.  
  2055.  
  2056. ΓòÉΓòÉΓòÉ 6.1. REXX Programming ΓòÉΓòÉΓòÉ
  2057.  
  2058.  If you are not yet familiar with the REXX programming language you should 
  2059. check the REXX-Information in your WPS System folder, an OS/2 book (like OS/2 
  2060. Unleashed) or the printed ZOC documentation. A look at the examples in the 
  2061. ZOC\SCRIPT\RXSAMPLE directory will teach you the basics as well. 
  2062.  
  2063. Why REXX? 
  2064.  
  2065.  Ease of use 
  2066.     The REXX language offers a large set of structured execution control 
  2067.     statements like IFs and DOs where ZOC Scripts just offer GOTOs. 
  2068.  
  2069.  Speed 
  2070.     ZOC runs REXX programs (unlike scripts) in an own thread (task) parallel to 
  2071.     ZOC's main thread which gives REXX superior execution speed (compared to 
  2072.     scripts). 
  2073.  
  2074.  Standards 
  2075.     REXX is a standard, scripts are YALTL (yet another language to learn). So 
  2076.     if you learn how to REXX you will be able to use that knowledge in OS/2 
  2077.     command files and other applications. 
  2078.  
  2079. How to REXX 
  2080.  
  2081. ZOC determines that a file is a REXX program by looking at the first line which 
  2082. should contain a comment like /* REXX */ 
  2083.  
  2084. When running REXX programs ZOC adds a few commands to the REXX language (see 
  2085. REXX Command List in the appendix) to give REXX access to ZOCs communication 
  2086. features. The particular commands are discussed in the command list and basics 
  2087. are shown in the printed manual - this section will cover a few very special 
  2088. topics about the ZOC <--> REXX interface. 
  2089.  
  2090.  Tracing 
  2091.     To find how REXX works, insert a TRACE A command into your REXX programs. 
  2092.     After that the REXX interpreter will show you each step as it executes it. 
  2093.  
  2094.  Screen Input/Output 
  2095.     ZOC supports the REXX PULL and SAY commands which are redirected to the ZOC 
  2096.     window. However, texts printed using SAY are not scanned for control 
  2097.     characters (like ^M) while texts printed with the ZOC commands 
  2098.     WRITE/WRITELN are. 
  2099.  
  2100.  Issuing OS/2 commands 
  2101.     Normally OS/2 commands like REN or DEL can be issued directly from a REXX 
  2102.     program since CMD is the default addressee. In ZOC however, ZOC is the 
  2103.     default receiver of commands, so you need to address OS/2 commands to the 
  2104.     command interpreter explicitely, like ADDRESS CMD DEL FOO.TMP. 
  2105.  
  2106.  Command Arguments 
  2107.     Some ZOC commands use more than one argument (e.g. the ASK command). If 
  2108.     arguments contain space characters, you need quotes to make clear what 
  2109.     belongs to which argument. For example, in ASK Enter Name the word Name 
  2110.     could be interpreted as part of the first argument (i.e. being part of the 
  2111.     title) or a second argument (the value to preset the input field with). The 
  2112.     ZOC interpreter would chose the latter. 
  2113.  
  2114.     To make the command clear it comes to mind to use quote characters. 
  2115.     Unfortunately REXX parses away quotes, so, given you would write ASK "Enter 
  2116.     Name" you would still end up with a window containing the text Enter in the 
  2117.     title bar and the input field preset with the text Name. 
  2118.  
  2119.     To work around this problem, you have to use single quote (╤Å) to enclose 
  2120.     the command or argument like ASK ╤Å"Enter Name"╤Å or, which is more common, 
  2121.     ╤ÅASK "Enter Name"╤Å. 
  2122.  
  2123.     It gets real tricky if you have an argument that is stored in a REXX 
  2124.     variable. If you use the method described above would get the name of the 
  2125.     variable instead of its value, if you don't, you would have the problem 
  2126.     already described. Of course there is a solution and it looks like this: 
  2127.     ASK ╤Å"╤Å || titlevar || ╤Å"╤Å. 
  2128.  
  2129. A Small Example Most of the time you will use REXX to log into a host and do 
  2130. things automatically for you. Simple logins can be stored directly in the phone 
  2131. book (see Changing Phone Book Entries) and can be recorded automatically. 
  2132.  
  2133. The example below calls a host and shows how to use REXX with ZOC (as well as 
  2134. the REXXHOST sample in the SCRIPT directory does). 
  2135.  
  2136. /* REXX script to dial (and retry) a phone number */
  2137.  
  2138. /* Ask user what number should be dialled */
  2139. 'ASK "What number shall I dial?"'
  2140.  
  2141. /* dial the number if it was non empty and if user
  2142.    did not press the ESC key */
  2143.  
  2144. IF ZOCRESULT()\="" & ZOCRESULT()\="##CANCEL##" THEN
  2145. DO
  2146.    /* redial 5 times max. */
  2147.    DO TRY=1 to 5
  2148.  
  2149.       SAY "Try #" TRY
  2150.  
  2151.       'DIAL "' || ZOCRESULT() || '"'
  2152.  
  2153.       /* wait for a reply within 60 seconds */
  2154.       'TIMEOUT 60'
  2155.  
  2156.       /* scan the next 6 lines for something interesting */
  2157.       DO LINE=1 TO 6
  2158.          /* receive next line of text */
  2159.          'GETLINE'
  2160.  
  2161.          /* if timed out, end script with error */
  2162.          IF RC=640 THEN SIGNAL ERROR
  2163.  
  2164.          /* if BUSY was received, try again (leave inner loop) */
  2165.          IF ZOCLASTLINE()="BUSY" THEN LEAVE LINE
  2166.  
  2167.          /* if NO CARRIER was received, end with error */
  2168.          IF ZOCLASTLINE()="NO CARRIER" THEN
  2169.          DO
  2170.             SAY "Error!"
  2171.             LEAVE TRY    /* leave outer loop */
  2172.          END
  2173.  
  2174.  
  2175.          /* if CARRIER or CONNECT was received, everything's fine */
  2176.          IF LEFT(ZOCLASTLINE(),7)="CONNECT" | ,
  2177.              LEFT(ZOCLASTLINE(),7)="CARRIER" THEN
  2178.          DO
  2179.             'BEEP 3'  /* page user */
  2180.             LEAVE TRY    /* leave outer loop */
  2181.          END
  2182.  
  2183.       END LINE
  2184.  
  2185.       'DELAY 30' /* wait 30 seconds to dial next */
  2186.  
  2187.    END TRY
  2188. END /* IF */
  2189.  
  2190.  
  2191. ΓòÉΓòÉΓòÉ 6.2. Script Programming ΓòÉΓòÉΓòÉ
  2192.  
  2193.  The script language is inferior to REXX programming and hence will not be 
  2194. improved beyond its current state. It is (and will be) mainly available to 
  2195. maintain compatibility with earlier versions of ZOC. 
  2196.  
  2197. This section is addressed to those who are already familiar with ZOC scripts 
  2198. and who don't want to move over to REXX. 
  2199.  
  2200. The appendix contains a list of all the available script commands. 
  2201.  
  2202. About the Script Parser 
  2203.  
  2204.  Note 1: Recognition of commands and system variables is case insensitive, but 
  2205.      user defined variables are case sensitive. 
  2206.  
  2207.  Note 2: Metas (=variables) are written between percent signs (like in DOS 
  2208.      batch files). If a name of a meta is not recognized, the expression 
  2209.      represents itself, that is, if you write WRITE "%ABC%" and ABC does not 
  2210.      exist, ZOC prints '%ABC%'. 
  2211.  
  2212.  Note 3: Each line of code is processed in two steps. First all variables are 
  2213.      replaced with their value. Second, the parser collects arguments and 
  2214.      passes them to the commands. Arguments are delimited by TAB or Space, 
  2215.      arguments containing TAB or Space must be enclosed by single or double 
  2216.      quotes. 
  2217.  
  2218.      The following commands are legal: 
  2219.  
  2220.       SETA "string1" "Hello World" 
  2221.  
  2222.       SETA string1 "Hello World" 
  2223.  
  2224.       SETA string2 Hello 
  2225.  
  2226.       WRITE "%string2%" 
  2227.  
  2228.       WRITE %string2% 
  2229.  
  2230.      The following commands are not legal: 
  2231.  
  2232.       WRITE %string1% 
  2233.  
  2234.       SETA string1 Hello World 
  2235.  
  2236.      As a rule of thumb it is a good idea to include all <text> arguments in 
  2237.      quotes, while it is generally safe and easier to read to leave arguments 
  2238.  
  2239.  
  2240. ΓòÉΓòÉΓòÉ 7. About ZOC (Versions, Author, Orders, ...) ΓòÉΓòÉΓòÉ
  2241.  
  2242. The Order Form from the help menu provides most of the information necessary to 
  2243. order ZOC (like a list of distributors/registration sites and automatic pricing 
  2244. calculator). 
  2245.  
  2246. Click here for details about ordering and payment 
  2247.  
  2248. Other related topics are How to Contact the Author, Versions of ZOC and A Word 
  2249. about Shareware. 
  2250.  
  2251.  
  2252. ΓòÉΓòÉΓòÉ 7.1. Where/How to Order ΓòÉΓòÉΓòÉ
  2253.  
  2254.  Select Order Form from the help menu to get an order form, distributor list 
  2255. and automatic pricing calculator. 
  2256.  
  2257.  Orders 
  2258.      The most convenient way to order ZOC is to logon to CompuServe, type go 
  2259.     swreg at the forum! prompt, search for ZOC and register online. I will be 
  2260.     notified that you registered and a few days later (currently I process 
  2261.     orders twice a week) you will receive e-mail on CompuServe which contains 
  2262.     your software license code and instructions how to use it. The price will 
  2263.     be charged with your next CompuServe bill. 
  2264.  
  2265.     If you don't want to order via CompuServe (or if you don't have an account 
  2266.     there), select 'Order Form' from the help menu and enter your personal 
  2267.     data, method of payment (see below) and options. Then print or file the 
  2268.     order form. ZOC will compute the price automatically and print (or file) it 
  2269.     with the order form. 
  2270.  
  2271.     In return to your order you will receive a letter (and probably email/fax) 
  2272.     that contains a license, information on how to remove the display of the 
  2273.     order form after each download and - if you ordered one - a printed manual 
  2274.     and a disk. 
  2275.  
  2276.  Distributors 
  2277.     You find the complete list of distributors/registration sites  (address and 
  2278.     phone/fax/bbs numbers) in the order form. 
  2279.  
  2280.  Options 
  2281.     There are a few options to chose from. 
  2282.  
  2283.     License until 2.99
  2284.        The basic license is a code that is entered into ZOC (and stored into 
  2285.        your OS2.INI) to remove the registration remainder screens and messages 
  2286.        from all versions with the same major version number (currently all 2.xx 
  2287.        versions). 
  2288.  
  2289.     Future license
  2290.        While the basic license entitles you only to use all versions with the 
  2291.        same major registration number (e.g. all 2.x versions), you can register 
  2292.        all future versions in advance (for the price of one upgrade). This way 
  2293.        you have free access to all future versions of ZOC. 
  2294.  
  2295.            Disk+Manual
  2296.        If you want, you can order a printed manual and a disk containing the 
  2297.        current version of ZOC and ZOC related files. The commercial style 
  2298.        printed manual provides basically the same information as the help file 
  2299.        but adds introductory guidance to datacommunication and REXX 
  2300.        programming. 
  2301.  
  2302.  Pricing 
  2303.     Automatic pricing table is available from the Order Form (to be found in 
  2304.     the help menu). 
  2305.  
  2306.     When considering whether to buy ZOC, you should be aware that most 
  2307.     commercial packages (either for OS/2 or Windows(TM)) without future 
  2308.     upgrades cost more than the V9.99 license of ZOC. 
  2309.  
  2310.  Payment 
  2311.      The notes below apply only if you register from the author! If you plan to 
  2312.     register from a registration site, please contact them for payment details. 
  2313.  
  2314.     Credit Cards 
  2315.        I accept VISA, MasterCard and Eurocard. 
  2316.  
  2317.        Credit cards are always charged in DM. 
  2318.  
  2319.        To prevent credit card fraud I need an order form with your written 
  2320.        signature (i.e. a FAX or a letter) and with your credit card number and 
  2321.        expiration date. 
  2322.  
  2323.            CompuServe
  2324.        CompuServe offers a convenient shareware registration feature. To use it 
  2325.        you need a CompuServe account. CompuServe registration is only available 
  2326.        for the future license without manual and costs additional $5 since 
  2327.        CompuServe charges 15% for the SWREG feature. 
  2328.  
  2329.            Check
  2330.        Checks are fine with me. Just send a personal check in the currency you 
  2331.        like (covering the amount to be charged by the registration site in your 
  2332.        country). 
  2333.  
  2334.        If you order from Germany, send me an Euro- or Verrechnungsscheck 
  2335.        (please don't send Verrechnungsschecks by registered mail). 
  2336.  
  2337.            Cash
  2338.        If you send cash, please use registered mail. I will come up for the 
  2339.        additional postage (that is, you pay $5 less for ZOC). 
  2340.  
  2341.     Bank Transfer
  2342.        I guess this is convenient only if used from inside Germany. If you send 
  2343.        money via Bank Transfer please send an order form (via mail) as well. My 
  2344.        bank is POSTGIROAMT N╨¬RNBERG (BLZ 760 100 85), account is 0314153856. 
  2345.  
  2346.        Note:  If possible, please don't use bank transfers from other 
  2347.        countries, since I am charged a transfer fee that is rather prohibitive! 
  2348.  
  2349.  
  2350. ΓòÉΓòÉΓòÉ 7.2. A Word (or two) about Shareware ΓòÉΓòÉΓòÉ
  2351.  
  2352.  Shareware restriction and nagging 
  2353.  
  2354.     I believe in uncrippled shareware, but I believe as well that moderate 
  2355.     reminders (widely known as nagging) are an acceptable method to make sure 
  2356.     that shareware will be registered.  The shareware version of ZOC is fully 
  2357.     functional. If you feel that something important is not working, you are 
  2358.     probably doing something wrong. 
  2359.  
  2360.     In ZOC, the order form and this help topic are shown after every successful 
  2361.     Zmodem download as a reminder that you should register after the trial 
  2362.     period. 
  2363.  
  2364.     Personally I would have preferred to use a method that begins to show the 
  2365.     window AFTER the trial period, but this is technically not possible without 
  2366.     risking that someone will fiddle with the method of time measuring to gain 
  2367.     free access to ZOC. However, you can fully explore the program and won't 
  2368.     see the reminder too often anyway. If you find this unacceptable, you might 
  2369.     consider if you already are using ZOC enough that you should register. 
  2370.  
  2371.     Note:  Btw, I have already seen more than enough discussions about ZOC's 
  2372.     way of nagging, so I won't contribute to any such discussion going on on 
  2373.     the networks, even if I monitor it. 
  2374.  
  2375.  Fairness 
  2376.     Please be aware that shareware is Fair-Ware and that the shareware concept 
  2377.     requires fairness from the user. It is possible to use shareware programs 
  2378.     eternally without paying for it, but, in the long run, this will hurt the 
  2379.     users as bad as the authors. 
  2380.  
  2381.     If the shareware concept does not work, more and more programmers will 
  2382.     market their work commercially without giving the user the opportunity to 
  2383.     legally test the program for some time (the list of programs that were 
  2384.     changed from shareware into commercial packages already is quite long). 
  2385.  
  2386.  
  2387. ΓòÉΓòÉΓòÉ 7.3. ZOC Versions ΓòÉΓòÉΓòÉ
  2388.  
  2389.  ZOC light 
  2390.     ZOC light is currently available in Germany only and is bundled with modems 
  2391.     from several manufacturers. ZOC light is free and you may use it as long as 
  2392.     you want but a few features are disabled. To get a full version you should 
  2393.     contact the distributor listed in the startup panel. 
  2394.  
  2395.  ZOC unregistered 
  2396.     This is the shareware version of ZOC which you may evaluate for 30 days. No 
  2397.     features are missing or disabled, but the order form is shown after each 
  2398.     download to remind you that you should buy/register it after 30 days. 
  2399.  
  2400.  ZOC registered 
  2401.     This is the ZOC version you should go for. When you buy/register ZOC you 
  2402.     get a software license code that is entered into ZOC to remove the 30 days 
  2403.     reminder and the order form from the unregistered version. 
  2404.  
  2405.  
  2406. ΓòÉΓòÉΓòÉ 8. APPENDIX ΓòÉΓòÉΓòÉ
  2407.  
  2408.  
  2409. ΓòÉΓòÉΓòÉ 8.1. Function Shortcuts ΓòÉΓòÉΓòÉ
  2410.  
  2411. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  2412. ΓöéKey         ΓöéFunction            Γöé
  2413. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2414. ΓöéPgUp        ΓöéUpload              Γöé
  2415. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2416. ΓöéCtrl+PgUp   ΓöéASCII Upload        Γöé
  2417. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2418. ΓöéPgDn        ΓöéDownload            Γöé
  2419. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2420. ΓöéShift+InsertΓöéCliptext, Send      Γöé
  2421. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2422. ΓöéAlt+Insert  ΓöéCliptext, Send      Γöé
  2423. Γöé            ΓöéSpaced              Γöé
  2424. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2425. ΓöéCtrl+End    ΓöéModem, Send Break   Γöé
  2426. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2427. ΓöéAlt+B       ΓöéCapture, Browse     Γöé
  2428. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2429. ΓöéAlt+C       ΓöéShow/Hide Chat      Γöé
  2430. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2431. ΓöéAlt+D       ΓöéModem, Phone Book   Γöé
  2432. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2433. ΓöéAlt+E       ΓöéMisc, Editor        Γöé
  2434. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2435. ΓöéAlt+H       ΓöéModem, Hangup       Γöé
  2436. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2437. ΓöéAlt+J       ΓöéTransfer,           Γöé
  2438. Γöé            ΓöéTransfer-Shell      Γöé
  2439. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2440. ΓöéAlt+L       ΓöéCapture, Open/Close Γöé
  2441. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2442. ΓöéAlt+N       ΓöéModem, Call Next    Γöé
  2443. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2444. ΓöéAlt+P       ΓöéLogfile, Log To     Γöé
  2445. Γöé            ΓöéPrinter             Γöé
  2446. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2447. ΓöéAlt+Q       ΓöéCliptext, Send      Γöé
  2448. Γöé            ΓöéQuoted              Γöé
  2449. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2450. ΓöéAlt+S       ΓöéOptions, Settings   Γöé
  2451. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2452. ΓöéAlt+U       ΓöéTransfer, Plugs     Γöé
  2453. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2454. ΓöéAlt+X       ΓöéEnd Program         Γöé
  2455. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2456. ΓöéAlt+Y       ΓöéEnable/Disable SplitΓöé
  2457. Γöé            ΓöéChat                Γöé
  2458. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2459. ΓöéAlt+Z       ΓöéMisc, Clear Screen  Γöé
  2460. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2461. ΓöéAlt +       ΓöéStart REXX          Γöé
  2462. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2463. ΓöéAlt -       ΓöéStop REXX           Γöé
  2464. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2465. ΓöéAlt ,       ΓöéShow/Hide Snippets  Γöé
  2466. Γöé            Γöéwindow              Γöé
  2467. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2468. ΓöéAlt /       ΓöéMisc, OS/2 Shell    Γöé
  2469. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2470. ΓöéAlt *       ΓöéCliptext Print      Γöé
  2471. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  2472.  
  2473.  
  2474. ΓòÉΓòÉΓòÉ 8.2. VT102 Auxiliary Keypad ΓòÉΓòÉΓòÉ
  2475.  
  2476. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  2477. ΓöéVT102 KeypadΓöéPC MF-Keypad   Γöé
  2478. Γöé            Γöé(Num Lock Off) Γöé
  2479. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2480. Γöé[PF1]       Γöé[F1]           Γöé
  2481. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2482. Γöé[PF2]       Γöé[F2]           Γöé
  2483. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2484. Γöé[PF3]       Γöé[F3]           Γöé
  2485. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2486. Γöé[PF4]       Γöé[F4]           Γöé
  2487. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2488. Γöé[0] ... [9] Γöé[0] ... [9]    Γöé
  2489. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2490. Γöé[Enter]     Γöé[Enter]        Γöé
  2491. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2492. Γöé[.]         Γöé[./Del]        Γöé
  2493. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2494. Γöé[-]         Γöé[-]            Γöé
  2495. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2496. Γöé[,]         Γöé[+]            Γöé
  2497. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  2498.  
  2499.  
  2500. ΓòÉΓòÉΓòÉ 8.3. Special Codes ΓòÉΓòÉΓòÉ
  2501.  
  2502.  Sometimes it is necessary to send characters that are not available from the 
  2503. keyboard or that cannot be entered into a field because WPS uses it to move the 
  2504. cursor (like the ESC or Enter key). 
  2505.  
  2506. ZOC offers Control Sequences that are replaced with keys that would not be 
  2507. available otherwise, and special ZOC Codes that give you access to values like 
  2508. current time or date or let you map action (like running a REXX program or 
  2509. calling a host) to function keys instead of texts. 
  2510.  
  2511. The following table shows control sequences that can be used to simulate 
  2512. special keys when building macro keys, REXX scripts. 
  2513.  
  2514. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  2515. ΓöéKey            ΓöéControl   Γöé
  2516. Γöé               ΓöéCode      Γöé
  2517. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2518. Γöé^ char         Γöé^^        Γöé
  2519. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2520. ΓöéBeep           Γöé^G        Γöé
  2521. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2522. ΓöéBackspace      Γöé^H        Γöé
  2523. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2524. ΓöéTab            Γöé^I        Γöé
  2525. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2526. ΓöéEsc            Γöé^[        Γöé
  2527. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2528. ΓöéEnter          Γöé^M        Γöé
  2529. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2530. ΓöéLine Feed      Γöé^J        Γöé
  2531. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2532. ΓöéCtrl+^ (dec 30)Γöé^~        Γöé
  2533. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  2534.  
  2535. The table below lists place holders that can be used in some ZOC functions to 
  2536. send special values or achieve other magic like starting REXXs from macro keys. 
  2537.  
  2538. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  2539. ΓöéCode    ΓöéExplanation                   Γöé
  2540. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2541. Γöé^1      ΓöéReplaced with current day of  Γöé
  2542. Γöé        Γöémonth                         Γöé
  2543. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2544. Γöé^2      ΓöéReplaced with current month   Γöé
  2545. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2546. Γöé^3      ΓöéReplaced with current year    Γöé
  2547. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2548. Γöé^4      ΓöéReplaced with current hour    Γöé
  2549. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2550. Γöé^5      ΓöéReplaced with current minute  Γöé
  2551. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2552. Γöé^6      ΓöéReplaced with current second  Γöé
  2553. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2554. Γöé^&      ΓöéReplaced with the password    Γöé
  2555. Γöé        Γöéfrom the phone book entry thatΓöé
  2556. Γöé        Γöéis currently online (for      Γöé
  2557. Γöé        Γöésafety reasons this works onlyΓöé
  2558. Γöé        Γöéonce per session).            Γöé
  2559. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2560. Γöé~       ΓöéDelay of 1/3 second (only     Γöé
  2561. Γöé        Γöéavailable in modem strings)   Γöé
  2562. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2563. Γöé^#      ΓöéReplaced with the phone numberΓöé
  2564. Γöé        Γöé(only available in modem dial Γöé
  2565. Γöé        Γöéstrings)                      Γöé
  2566. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2567. Γöé^!      ΓöéSend a break                  Γöé
  2568. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2569. Γöé^RUN=   ΓöéRun the REXX/script file that Γöé
  2570. Γöé        Γöéis given after the equal sign Γöé
  2571. Γöé        Γöé(available in F-Macros, CustomΓöé
  2572. Γöé        ΓöéButtons and AutoReplies).     Γöé
  2573. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2574. Γöé^CALL=  ΓöéCall one or more hosts        Γöé
  2575. Γöé        Γöé(separated by vertical bars)  Γöé
  2576. Γöé        Γöéfrom the phone book which are Γöé
  2577. Γöé        Γöélisted after the equal sign   Γöé
  2578. Γöé        Γöé(eg. ^CALL=ZOC InfoBBS|Big    Γöé
  2579. Γöé        ΓöéBlue/2|CompuServe)            Γöé
  2580. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2581. Γöé^FKEY=n ΓöéMaps the text of a function   Γöé
  2582. Γöé        Γöékey to a Custom Button or     Γöé
  2583. Γöé        ΓöéAutoReply (e.g. ^FKEY=12, onlyΓöé
  2584. Γöé        Γöéavailable in Custom Buttons   Γöé
  2585. Γöé        Γöéand AutoReplies).             Γöé
  2586. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2587. Γöé^SHELL= ΓöéStarts an OS/2 command (eg.   Γöé
  2588. Γöé        Γöé^SHELL=KQW.EXE) from a F-Key, Γöé
  2589. Γöé        ΓöéCustom Button or AutoReply. ToΓöé
  2590. Γöé        Γöéstart more than one command,  Γöé
  2591. Γöé        Γöéseparate them by an & (eg.    Γöé
  2592. Γöé        Γöé^SHELL=cd \tmp & del *.tmp).  Γöé
  2593. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2594. Γöé^XFER=  ΓöéStarts an OS/2 command in a   Γöé
  2595. Γöé        Γöétransfer shell (eg.           Γöé
  2596. Γöé        Γöé^XFERSHELL=CKERMIT -l %ZOCHFC%Γöé
  2597. Γöé        Γöé-r, see Transfer Shell) from aΓöé
  2598. Γöé        ΓöéF-Key, Custom Button or       Γöé
  2599. Γöé        ΓöéAutoReply. To start more than Γöé
  2600. Γöé        Γöéone command, separate them by Γöé
  2601. Γöé        Γöéan & (eg. ^XFERSHELL=CD       Γöé
  2602. Γöé        Γöé\M2ZMODEM & M2ZMODEM -u       Γöé
  2603. Γöé        Γöé%ZOCHFC% -r DOWNLOAD).        Γöé
  2604. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2605. Γöé^DOSXFERΓöéStarts a DOS command in a     Γöé
  2606. Γöé        Γöétransfer shell (eg.           Γöé
  2607. Γöé        Γöé^DOSXFER=DSZ port 2 rz) from aΓöé
  2608. Γöé        ΓöéF-Key, Custom Button or       Γöé
  2609. Γöé        ΓöéAutoReply.  See Transfer      Γöé
  2610. Γöé        ΓöéDOS-Shell for more details.   Γöé
  2611. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  2612.  
  2613.  
  2614. ΓòÉΓòÉΓòÉ 8.4. REXX Commands/Functions ΓòÉΓòÉΓòÉ
  2615.  
  2616.  ASK [<title> [<default>]] Show a text input window and read text from user. If 
  2617.      the second argument (<default>) it is provided, the entry field will be 
  2618.      preset with this value. The result of the command can be obtained using 
  2619.      the ZOCRESULT() function. 
  2620.  
  2621.      Example: 
  2622.  
  2623.           ASK ╤Å"Are You sure?"╤Å No
  2624.  
  2625.           IF ZOCRESULT()==No THEN ...
  2626.  
  2627.  BAUD <baud>[-{7|8}{N|O|E}{1|2}] Set serial parameters. 
  2628.  
  2629.      Example: 
  2630.  
  2631.           BAUD 38400-8N1
  2632.  
  2633.  BEEP [<n>] Beep n times. 
  2634.  
  2635.  CAPTCLR Clear the capture buffer. 
  2636.  
  2637.  CLS Clear the screen. 
  2638.  
  2639.  DELAY [<sec>] Wait a given time or delay 1/5 second if the parameter is 
  2640.      omitted. 
  2641.  
  2642.  DIAL [<number>] Dial a number or read the number to dial from the user if the 
  2643.      parameter is omitted. 
  2644.  
  2645.  DOWNLOAD {X[C]|Y|Z} <file/dir> Download file(s) using the X/Y/Zmodem file 
  2646.      transfer protocol. The second parameter is a filename for Xmodem and a 
  2647.      directory to store the received file(s) for Ymodem and Zmodem 
  2648.  
  2649.      Example: 
  2650.  
  2651.           DOWNLOAD Z C:\ZOC\INFILES
  2652.  
  2653.  ENDZOC Terminate ZOC and return to shell or WPS 
  2654.  
  2655.  GETFILENAME <title> Display a file selection window and return the filename in 
  2656.      ZOCRESULT(). 
  2657.  
  2658.      Example: 
  2659.  
  2660.           GETFILENAME Enter file to upload
  2661.  
  2662.           UPLOAD Z ZOCRESULT()
  2663.  
  2664.  GETLINE Wait for the next non empty line of text from the modem (if you want 
  2665.      to wait for the next line, no matter if empty or not, use WAIT ^M). The 
  2666.      received text is available using the ZOCLASTLINE() function. If GETLINE 
  2667.      times out it returns a value of 640 in RC. 
  2668.  
  2669.      Note:  Since REXX is running in an extra thread, it is possible that 
  2670.      (especially in loops) GETLINE will miss lines if the text is coming in 
  2671.      very fast. 
  2672.  
  2673.      Example: 
  2674.  
  2675.           GETLINE
  2676.  
  2677.           IF RC\=640 & ZOCLASTLINE()==CONNECT THEN ...
  2678.  
  2679.  HANGUP Disconnect line. 
  2680.  
  2681.  LOADOPTS <optsfile> Load options file. 
  2682.  
  2683.      Example: 
  2684.  
  2685.           LOADOPTS OPTIONS\VT102OPT
  2686.  
  2687.  LOGNAME <filename> Set new name for logging. 
  2688.  
  2689.      Example: 
  2690.  
  2691.           LOGNAME TODAY.LOG
  2692.  
  2693.  LOGGING [0|1] Suspend/resume logging. 
  2694.  
  2695.  NOTIFY <text> Display message window. 
  2696.  
  2697.      Example: 
  2698.  
  2699.           NOTIFY Hello World!
  2700.  
  2701.  PRINT <text> Same as WRITELN 
  2702.  
  2703.  REQUEST <title> <opt1> [<opt2> [<opt3>]] Display a requester window with 
  2704.      options (result in ZOCRESULT()). 
  2705.  
  2706.      Example: 
  2707.  
  2708.           REQUEST ╤Å"Are you sure?"╤Å Yes No ╤Å"who cares"╤Å
  2709.  
  2710.  REPLY <text1> [<text2>] Send <text2> whenever <text1> is received during (and 
  2711.      only during) a DELAY or WAIT command.  A maximum of 32 REPLY commands can 
  2712.      be active simultaneously. <text1> must not contain carriage returns or 
  2713.      line feeds. If <text2> is omitted or empty the REPLY command for <text1> 
  2714.      is cancelled. 
  2715.  
  2716.      Note:  This command uses a lot of CPU time, therefore you should cancel 
  2717.      unused replies as soon as you don't need them any more. 
  2718.  
  2719.      Example: 
  2720.  
  2721.           /* Wait for 'Command' and
  2722.  
  2723.           skip all prompts in between*/
  2724.  
  2725.           REPLY Enter ^M
  2726.  
  2727.           REPLY More N
  2728.  
  2729.           WAIT Command
  2730.  
  2731.           REPLY Enter
  2732.  
  2733.           REPLY More
  2734.  
  2735.      The above example waits until the text Command is received.  While 
  2736.      waiting, all Enter and More prompts are answered automatically by sending 
  2737.      ^M.  After the Wait is satisfied, the reply commands are cancelled. 
  2738.  
  2739.  RESTIMER Reset the timer on the status line. 
  2740.  
  2741.  SEND <text> Send text to modem. 
  2742.  
  2743.      Example: 
  2744.  
  2745.           SEND "JOE USER^M"
  2746.  
  2747.  SENDBRK Send a modem break. 
  2748.  
  2749.  SENDKEY <number> Send text from macro key (1 ... 20). 
  2750.  
  2751.  SETDLPATH <path> Change the default download directory 
  2752.  
  2753.      Example: 
  2754.  
  2755.           SETDLPATH "C:\DOWNLOADS"
  2756.  
  2757.  SETEMU 1|2|3 Set emulation (1=ANSI, 2=VT102, 3=TTY). 
  2758.  
  2759.      Example: 
  2760.  
  2761.           SETEMU 1
  2762.  
  2763.  SETHOST 0|1 Set host echo on or off. 
  2764.  
  2765.  SETTIMER <hh: mm:ss>Set timer to given time. 
  2766.  
  2767.  TIMEOUT <sec> Set timeout for WAIT (see also: WAIT, WAITMUX, GETLINE). 
  2768.  
  2769.      Example: 
  2770.  
  2771.           TIMEOUT 60
  2772.  
  2773.  UPLOAD {A[0|1]|X[K]|Y|Z[A]} <file> Start upload. 
  2774.  
  2775.      Example: 
  2776.  
  2777.           UPLOAD XK UPLOADS\ZOC.ZIP
  2778.      uploads ZOC.ZIP with Xmodem protocol and 1KB block size. 
  2779.  
  2780.      Example: 
  2781.  
  2782.           UPLOAD ZA S:\SOME\REMOTE\PATH\LIST.TXT
  2783.       uploads LIST.TXT with via Zmodem (ascii-mode) protocol. 
  2784.  
  2785.      Example: 
  2786.  
  2787.           UPLOAD A0 FARAWAY\LIST.TXT
  2788.      uploads LIST.TXT with via ascii transfer without CR/LF translation. 
  2789.  
  2790.  WAIT <text> Wait for the given text (see also: GETLINE, TIMEOUT, WAITMUX). If 
  2791.      it times out it returns a value of 640 in RC. 
  2792.  
  2793.      Example: 
  2794.  
  2795.           WAIT Password
  2796.  
  2797.           IF RC=640 THEN SIGNAL PANIC
  2798.  
  2799.      Note:  Be careful to wait for text that does not contain ANSI/VT102 codes 
  2800.      (eg. change of colors). 
  2801.  
  2802.  WAITMUX <text0> [<text1> ...] Wait for one of multiple texts in the input data 
  2803.      stream.  It is satisfied if one of the given texts is found in the 
  2804.      incoming data stream (and is typically used within a loop).  The RC 
  2805.      variable provides information about which text was found (0, 1, 2 ...) or 
  2806.      if the command timed out (640). 
  2807.  
  2808.      Note:  The length of all texts together must not exceed 128 characters. 
  2809.  
  2810.      Note:  This command uses a lot of CPU time. 
  2811.  
  2812.      Example: 
  2813.  
  2814.           'WAITMUX "You have mail" "Main Menu"'
  2815.  
  2816.           SELECT
  2817.  
  2818.           WHEN RC=0 THEN CALL MAILDOWNLOAD
  2819.  
  2820.           WHEN RC=1 THEN LEAVE
  2821.  
  2822.           WHEN RC=640 THEN SIGNAL TIMEOUT
  2823.  
  2824.           END
  2825.  
  2826.  WAITLINE This command is available for compatibility with older versions of 
  2827.      ZOC. The correct command is now called GETLINE. 
  2828.  
  2829.  WRITE <text> Write text to screen. 
  2830.  
  2831.  WRITELN <text> Write text to screen and skip to the next line. 
  2832.  
  2833.  XFERSHELL <command> Start an external protocol in a Transfer Shell. 
  2834.  
  2835.      Example: 
  2836.  
  2837.           GETFILENAME "File to upload"
  2838.  
  2839.      Example: 
  2840.  
  2841.           XFERSHELL "CD \CKERMIT & CKERMIT -l %ZOCHFC% -s" ZOCRESULT()
  2842.  
  2843.  XFERDOSSHELL <command> Start an external protocol in a Transfer DOS-Shell. 
  2844.  
  2845.      Example: 
  2846.  
  2847.           GETFILENAME "File to upload"
  2848.  
  2849.      Example: 
  2850.  
  2851.           XFERDOSSHELL "C:\DOSCOMM\DSZ\DSZ port 2 sz " ZOCRESULT()
  2852.  
  2853.  ---------------------- 
  2854.  
  2855.  ZOCCARRIER() This is a function and returns the current state of the carrier 
  2856.      detect signal from the modem. If the serial options say that the modem 
  2857.      provides no valid carrier detect signal it returns N/A, otherwise 
  2858.      ZOCCARRIER() returns CARRIER or NO CARRIER. 
  2859.  
  2860.      Example: 
  2861.  
  2862.           TIMEOUT 30
  2863.  
  2864.           WAIT Password
  2865.  
  2866.           IF ZOCCARRIER()=="NO CARRIER" THEN SIGNAL PANIC
  2867.  
  2868.  ZOCLASTLINE() This is a function and returns the current line of text when the 
  2869.      last WAIT/WAITMUX/GETLINE command was satisfied. 
  2870.  
  2871.      Example: 
  2872.  
  2873.           SEND ATZ^M
  2874.  
  2875.           GETLINE
  2876.  
  2877.           IF ZOCLASTLINE()==OK THEN DIAL 123456
  2878.  
  2879.  ZOCRESULT()This is a function and returns the results from the ASK, REQUEST 
  2880.      and GETFILENAME commands. 
  2881.  
  2882.      Example: 
  2883.  
  2884.           REQUEST ╤Å"Are you sure"╤Å Yes No
  2885.  
  2886.           IF ZOCRESULT()==Yes THEN SIGNAL DOITAGAIN
  2887.  
  2888.  
  2889. ΓòÉΓòÉΓòÉ 8.5. Script Language Commands ΓòÉΓòÉΓòÉ
  2890.  
  2891. See the program extract at the end of the list as a prerequisite for the some 
  2892. of the examples. 
  2893.  
  2894.  ADD <meta> <num>Add a number to a variable. 
  2895.  
  2896.      Example: 
  2897.  
  2898.           ADD VARN 11; WRITELN %VARN%
  2899.       => 110 
  2900.  
  2901.  ASK [<title> [<default>]]Read text input from user. Result in %lastline%. 
  2902.  
  2903.      Example: 
  2904.  
  2905.           ASK "Are You sure?"
  2906.  
  2907.  BAUD <baud>[-{7|8}{N|O|E}{1|2}]Set serial parameters. 
  2908.  
  2909.      Example: 
  2910.  
  2911.           BAUD 4800-8N1
  2912.  
  2913.  BEEP [<n>]Beep n times 
  2914.  
  2915.  CALL <label>Call a label (defined as ':label') as subroutine (see also: 
  2916.      RETURN). 
  2917.  
  2918.      Example: 
  2919.  
  2920.           CALL Label
  2921.  
  2922.  CAPTCLRClear the capture buffer 
  2923.  
  2924.  CLOSEFILEClose the file opened with OPENFILE 
  2925.  
  2926.  CLS Clear the screen 
  2927.  
  2928.  COMPA <string> WITH <string>Compare two ASCII strings (see also: EXACT, IFxxx) 
  2929.  
  2930.      Example: 
  2931.  
  2932.           COMPA "%VAR1%" WITH "%VAR2%"
  2933.  
  2934.  COMPN <num> WITH <num>Compare numeric values 
  2935.  
  2936.  DEBUG 0|1Debugmode off/on 
  2937.  
  2938.  DEC <meta>Decrement numeric variable by one. 
  2939.  
  2940.      Example: 
  2941.  
  2942.           DEC VARN
  2943.  
  2944.  DELAY [<sec>]Wait given time in seconds or delay 1/5 second if parameter is 
  2945.      omitted. 
  2946.  
  2947.  DIAL [<number>]Dial a number or display dial requester. 
  2948.  
  2949.  DIV <meta> <num>Divide a variable by a number 
  2950.  
  2951.  DOWNLOAD {X[C]|Y|Z} <file>Download file with X/Y/Zmodem (Zmodem can be done 
  2952.      with the ZOC's autodownload feature as well). 
  2953.  
  2954.  ENDSCRIPTSame as EXIT 
  2955.  
  2956.  ENDZOCTerminate ZOC and return to shell or WPS 
  2957.  
  2958.  EXACT 0|1Set exact mode for COMPA. EXACT 1 means, that the two strings must be 
  2959.      exactly equal. EXACT 0 means, that the are compared in the length of the 
  2960.      shorter string (that is, line [6] in the example below would result to 
  2961.      equal). 
  2962.  
  2963.  EXITEnd the script 
  2964.  
  2965.  EXTERN <scriptfile> [<parameter>]Execute other scriptfile. The other 
  2966.      scriptfile gets the parameter in the %lastline% variable. 
  2967.  
  2968.  GETENV <name>Read value from environment into %lastline%. 
  2969.  
  2970.  GETFILERead line from ASCII file opened with OPENFILE into %lastline% 
  2971.  
  2972.  GETFILENAME <title>Display a file requester and return name in %lastline% 
  2973.  
  2974.  GETLINEWait for the next non empty line of text from the modem (use WAIT "^M" 
  2975.      to wait for the next line, no matter if empty or not). (See WAIT, TIMEOUT, 
  2976.      IFBRK, IFNBRK). 
  2977.  
  2978.      Example: 
  2979.  
  2980.           GETLINE
  2981.  
  2982.  GOTO <label>Jump to label (defined as ':label') 
  2983.  
  2984.  HANGUPDisconnect from line 
  2985.  
  2986.  IFBRK <command>Do command if the last WAIT/GETLINE returned due to timeout. 
  2987.  
  2988.      Example: 
  2989.  
  2990.           IFBRK GOTO ERROR
  2991.  
  2992.  IFEQU <command>Do command if the operands of the last COMPx (COMPA/COMPN) were 
  2993.      equal. 
  2994.  
  2995.      Example: 
  2996.  
  2997.           IFEQU SETN X 0
  2998.  
  2999.  IFHIGH <command>Do command if first operand of the last COMPx was greater than 
  3000.      the second. 
  3001.  
  3002.      Example: 
  3003.  
  3004.           IFHIGH SEND "^X^X^X^X"
  3005.  
  3006.  IFIN <command>Do command if first operand of the last COMPA was found 
  3007.      somewhere in the second. 
  3008.  
  3009.  IFLOW <command>Do command if first operand of the last COMPx was lower than 
  3010.      the second. 
  3011.  
  3012.  IFNBRK <command>Do command if the last WAIT/GETLINE returned with the text 
  3013.      found. 
  3014.  
  3015.  IFNEQU <command>Do command if result from last COMPx was not equal. 
  3016.  
  3017.  IFNHIGH <command>Do command if first operand of the last COMPx was lower than 
  3018.      or equal to the second. 
  3019.  
  3020.  IFNIN <command>Do command if first operand of the last COMPA was not 
  3021.  
  3022.  IFNLOW <command>Do command if first operand of the last COMPx was greater than 
  3023.      or equal to the second. 
  3024.  
  3025.  INC <meta>Increment numerical variable by one. 
  3026.  
  3027.      Example: 
  3028.  
  3029.           INC VARN
  3030.  
  3031.  KILL <meta>Remove variable from memory (not explicitly necessary). 
  3032.  
  3033.      Example: 
  3034.  
  3035.           KILL VARN
  3036.  
  3037.  LOADOPTS <optsfile>Load options file. 
  3038.  
  3039.      Example: 
  3040.  
  3041.           LOADOPTS "OPTIONS\VT102OPT"
  3042.  
  3043.  LOGNAME <filename>Set new name for logging. 
  3044.  
  3045.      Example: 
  3046.  
  3047.           LOGNAME "TODAY.LOG"
  3048.  
  3049.  LOGGING [0|1]Suspend/resume logging 
  3050.  
  3051.  LOWER <meta>Convert value of variable to lowercase (see also: UPPER). 
  3052.  
  3053.      Example: 
  3054.  
  3055.           LOWER VAR1
  3056.  
  3057.  LTRIM <meta>Remove blanks from beginning of variable (see also: RTRIM). 
  3058.  
  3059.      Example: 
  3060.  
  3061.           LTRIM VAR1
  3062.  
  3063.  MAXSCAN <num>Set maximum recursion for meta replacement. Variables can contain 
  3064.      references to other variables (e.g. SETA V1 "%%V2%%", SETA V2 "%%V3%%", 
  3065.      SETA V3 "Hello World"). MAXSCAN defines the maximum scanning depth for 
  3066.      such value expansions. That is, normally "%V1%" would expand to "Hello 
  3067.      World", while it would expand to "%V2%" if MAXSCAN were '1'. 
  3068.  
  3069.  META <newchar>Change meta character "%" into something else. 
  3070.  
  3071.      Example: 
  3072.  
  3073.           META $; WRITELN "$VAR1$"
  3074.  
  3075.  MOD <meta> <num>Calculate result of meta mod num and store result in the 
  3076.      variable of the first argument. 
  3077.  
  3078.      Example: 
  3079.  
  3080.           MOD VARN 10; WRITELN %VARN%
  3081.       => 9 
  3082.  
  3083.  MUL <meta> <num>Multiply a variable with a number and store result in the 
  3084.      variable of the first argument. 
  3085.  
  3086.      Example: 
  3087.  
  3088.           MUL VARN 100; WRITELN %VARN%
  3089.       => 9900 
  3090.  
  3091.  NOTIFY <text>Display message window. 
  3092.  
  3093.      Example: 
  3094.  
  3095.           NOTIFY "Hello World!"
  3096.  
  3097.  OPENFILE <filename> <mode>Open ASCII file (mode= r,w,a). 
  3098.  
  3099.      Example: 
  3100.  
  3101.           OPENFILE "data.lst" "a"
  3102.      opens file 'data.lst' in write append mode. 
  3103.  
  3104.  PRINT <text>Same as WRITELN 
  3105.  
  3106.  PUTFILE <text>Write text to an ASCII file opened with OPENFILE 
  3107.  
  3108.  QUOTE <newquote>Change quotation character (") 
  3109.  
  3110.  REQUEST <title> <opt1> [<opt2> [<opt3]]Display requester with options. 
  3111.  
  3112.      Example: 
  3113.  
  3114.           REQUEST "Are you sure?" "Yes" "No"
  3115.  
  3116.  RESPOND <text1> <text2>Send <text2> if <text1> is received (only during DELAY 
  3117.      or WAIT commands). A maximum of 32 RESPOND commands can be active 
  3118.      simultaneously. <text1> must not contain carriage returns or line feeds. 
  3119.      RESPOND <text1> "" cancells any previous RESPOND commands for <text1>. 
  3120.  
  3121.  RESTIMERReset the timer on the status line. 
  3122.  
  3123.  RETURNReturn from subroutine call (see also: CALL) 
  3124.  
  3125.  RTRIM <meta>Remove trailing blanks from variable (see also: LTRIM). 
  3126.  
  3127.      Example: 
  3128.  
  3129.           RTRIM VAR1
  3130.  
  3131.  SEND <text>Send text to modem. 
  3132.  
  3133.      Example: 
  3134.  
  3135.           SEND "JOE USER^M"
  3136.  
  3137.  SENDBRKSend a modem break 
  3138.  
  3139.  SENDKEY <number>Send text from macro key (1 ... 20) 
  3140.  
  3141.  SETA <meta> <text> [<pos> [<length>]]Create or overwrite ASCII variable with 
  3142.      text. Positive <pos> is counted from the left side of <text>, negative 
  3143.      <pos> is taken from the right. 
  3144.  
  3145.      Example: 
  3146.  
  3147.  
  3148.              SETA V1 "Hello World"
  3149.              SETA V2 "Hello World" +4
  3150.              SETA V3 "Hello World" -3
  3151.              SETA V4 "Hello World" +2 3
  3152.              WRITE "%V1%, %V2%, %V3%, %V4%"
  3153.  
  3154.      OUTPUT: Hello World, lo World, rld, llo. 
  3155.  
  3156.  SETN <meta> <num>Create or overwrite numerical variable with value 
  3157.  
  3158.  SETEMU 1|2|3Set emulation (1=ANSI, 2=VT102, 3=TTY). 
  3159.  
  3160.      Example: 
  3161.  
  3162.           SETEMU 1
  3163.  
  3164.  SETHOST 0|1Set host echo on or off 
  3165.  
  3166.  SETTIMER <hh:mm:ss>Set timer to given time 
  3167.  
  3168.  SHELL <command>Execute a program via 'CMD.EXE /C <command>'. 
  3169.  
  3170.      Example: 
  3171.  
  3172.           SHELL "DEL FILE.TMP"
  3173.  
  3174.  SUB <meta> <num>Subtract a number from a variable. 
  3175.  
  3176.      Example: 
  3177.  
  3178.           SUB VARN 50; WRITELN %VARN%
  3179.       => 49 
  3180.  
  3181.  TIMEOUT <sec>Set timeout for WAIT (see also: WAIT, GETLINE, IFBRK, IFNBRK). 
  3182.  
  3183.      Example: 
  3184.  
  3185.           TIMEOUT 60
  3186.  
  3187.  UPLOAD {A[0|1]|X[K]|Y|Z} <file>Start upload. 
  3188.  
  3189.      Example: 
  3190.  
  3191.           UPLOAD XK "ZOC.ZIP"
  3192.      uploads ZOC.ZIP with Xmodem protocol and 1K blocksize. 
  3193.  
  3194.      Example: 
  3195.  
  3196.           UPLOAD A0 "LIST.TXT"
  3197.      uploads LIST.TXT with per ascii transfer without CR/LF translation. 
  3198.  
  3199.  UPPER <meta>Convert variable to uppercase (see also: LOWER) 
  3200.  
  3201.  WAIT <text>Wait for the given text (see also: GETLINE, TIMEOUT, IFBRK, IFNBRK) 
  3202.  
  3203.      Example: 
  3204.  
  3205.           WAIT "Password"
  3206.  
  3207.  WAITLINEThis command is available for compatibility with older versions of 
  3208.      ZOC. The correct command now is GETLINE. 
  3209.  
  3210.  WRITE <text>Write text to screen 
  3211.  
  3212.  WRITELN <text>Write text to screen, add newline 
  3213.  
  3214.  XFERSHELL <command>Start an external protocol in an Transfer Shell. 
  3215.  
  3216.      Example: 
  3217.  
  3218.           GETFILENAME "File to upload"
  3219.  
  3220.      Example: 
  3221.  
  3222.           XFERSHELL "CD \CKERMIT & CKERMIT -l %ZOCHFC% -s" %lastline%
  3223.  
  3224.  XFERDOSSHELL <command>Start an external protocol in an Transfer DOS-Shell. 
  3225.  
  3226.      Example: 
  3227.  
  3228.           GETFILENAME "File to upload"
  3229.  
  3230.      Example: 
  3231.  
  3232.           XFERSHELL "DSZ port 2 -sz " %lastline%
  3233.  
  3234.  Note:Many functions (such as OPENFILE, REQUEST, GETFILE deliver error codes 
  3235.      like (##ERROR##, ##CANCEL##, ##EOF##, ...) in %lastline%. 
  3236.  
  3237.  Program part for the examples 
  3238.  
  3239.              SETA VAR1 "Hello  "
  3240.              SETA VAR2 "Hell"
  3241.              SETN VARN 99
  3242.              SETN VARN2 10
  3243.           :Label
  3244.              WRITELN "%VAR1%"
  3245.              COMPA "%VAR1%" WITH "%VAR2%"
  3246.              COMPA  %VARN% WITH 100
  3247.              COMPN  %VARN% WITH %VARN2%
  3248.  
  3249.  
  3250. ΓòÉΓòÉΓòÉ 8.6. Contacting the author ΓòÉΓòÉΓòÉ
  3251.  
  3252.  I more or less monitor international conferences and forums (mainly OS2 and 
  3253. OS2.GER on FIDO's, comp.os.os2.apps on the Internet and OS2SHARE on 
  3254. CompuServe). 
  3255.  
  3256. If you have problems, feel free to contact me personally (PLEASE check the help 
  3257. file, especially the Problems and Questions section and the contents of the 
  3258. file PROBLEMS.DOC, first). 
  3259.  
  3260. E-Mail (preferred): 
  3261.  
  3262.      Internet
  3263.     m.schmidt@emtec.msn.sub.org or m.schmidt@msn.rmi.de (please no mail >5KB to 
  3264.     the second address!) 
  3265.  
  3266.      CompuServe
  3267.     100101,3256 
  3268.  
  3269.  ZOC Infobbs 
  3270.     The number is +49 911 9933662 (or 0911 9933662 from Germany). Login as 
  3271.     'ZOC'. The menus there are in English! 
  3272.  
  3273. Other: 
  3274.  
  3275.      Phone
  3276.     +49+911+7406856 (or 0911 7406856 from within Germany). 
  3277.  
  3278.      FAX
  3279.     +49+911+7406857 (or 0911 7406857 from within Germany). 
  3280.  
  3281.  Mail 
  3282.  
  3283.          EmTec
  3284.          Markus Schmidt
  3285.          Waagstr. 4
  3286.          90762 Fuerth
  3287.          - Germany -
  3288.  
  3289.  
  3290. ΓòÉΓòÉΓòÉ 8.7. Common problems (trouble shooting guide) ΓòÉΓòÉΓòÉ
  3291.  
  3292. Please check the PROBLEMS.DOC file for possible problems and solutions as well. 
  3293.  
  3294.  Where do I get the current version of ZOC? 
  3295.  
  3296.     BMT Micro
  3297.        (910) 350-8061 [10 lines, 14.4K] or (910) 799-0923 [28.8K], login with 
  3298.        your own name or FIDO FREQ magic ZOCBETA 1:3628/11 
  3299.  
  3300.            CompuServe
  3301.        OS2SHARE forum, library 1 
  3302.  
  3303.            FTP
  3304.        ftp.demon.co.uk /pub/os2/comm/zoc 
  3305.  
  3306.     Software Solutions
  3307.        (604) 264-9859, name ZOC, password SUPREME 
  3308.  
  3309.     Virtual Reality BBS
  3310.        (316) 942-3736, login as GUEST 
  3311.  
  3312.     ZOC Info-BBS
  3313.        +49 911 9933662, login as ZOC 
  3314.  
  3315.  How can I set ZOC to tone dial 
  3316.     Change the modem options and set the dialing command to 'ATDT'. 
  3317.  
  3318.  My modem works properly with other terminal software but not with ZOC 
  3319.     Try using the same modem initialization as in the other terminal package. 
  3320.     Or store that modem configuration into the non-volatile memory of the modem 
  3321.     (mostly done with AT&W) and use ATZ as the initialization string for ZOC. 
  3322.  
  3323.  Error SYS3175 when starting a shell or editor from ZOC 
  3324.     Please try to delete (or REM out) some SET commands in your CONFIG.SYS, 
  3325.     reboot and try again. 
  3326.  
  3327.  ZOC increases calls and phone cost for several phone book entries at a time 
  3328.     This is a feature to maintain multi phone port BBSs.  Details are described 
  3329.     in editing phone book entries. 
  3330.  
  3331.  No characters appear after making a connection 
  3332.     You use a secured transmission and the modem waits to get an OK signal from 
  3333.     the computer which does not come. Turn on RTS/CTS in Options, Serial. 
  3334.  
  3335.  Zmodem uploads to Unix-RZ do not start at all or fail 
  3336.     Try to use the -e, -eb or -v option on Unix's side: rz -e, rz -eb  or rz -v 
  3337.  
  3338.     If your connection is routed through a Xyplex concentrator, there currently 
  3339.     is no known method to make Zmodem uploads at all.  You will have to use 
  3340.     another protocol -- best choice in this case is probably CKERMIT used from 
  3341.     a transfer shell from ZOC (please search this help file for CKERMIT to get 
  3342.     details). 
  3343.  
  3344.  Downloads generally work fine, but uploads of large files fail 
  3345.     Probably you are using a high-speed modem but have RTS/CTS disabled. For 
  3346.     high-speed transmission both, the modem and ZOC, need to be configured to 
  3347.     use RTS/CTS handshaking. 
  3348.  
  3349.  The text 'CIS-B ENQ received' appears during a session 
  3350.     Your host is sending a code that CompuServe normally uses to initiate file 
  3351.     transfers. Go to the Transfer, Plugs menu and disable the enquiry in the 
  3352.     CompuServe-B+ setup.  If this problem occurs during CompuServe login, go to 
  3353.     the CompuServe setup and disable the item 'Micro Inquiry'. 
  3354.  
  3355.  The cursor keys do not work in some VT102 applications 
  3356.     You should use the gray cursor keys, not the numeric keypad.  The keypad is 
  3357.     used for other purposes by these applications. 
  3358.  
  3359.  Sometimes the keyboard quits working while the mouse still works ok 
  3360.     Probably one of the qualifier keys (alt/ctrl/shift) got stuck.  Pressing 
  3361.     all these keys once usually helps. 
  3362.  
  3363.  The STANDARD options are not used at startup 
  3364.     Maybe you unpacked ZOC without preserving pathnames.  The STANDARD file 
  3365.     must be in a subdirectory named OPTIONS (and located in your ZOC directory, 
  3366.     e.g. C:\TERM\ZOC\OPTIONS). 
  3367.  
  3368.  Whenever I leave the program I get a Carrier Detect warning 
  3369.     Maybe your modem is configured to have the CD signal always on.  Set it to 
  3370.     match the CD state (maybe AT&C1) or set the CD signal to 'invalid' in the 
  3371.     serial options. 
  3372.  
  3373.  The phone book does not load the options file 
  3374.     You need to enter the path as well as the options file name, e.g. 
  3375.     OPTIONS\VTOPTS. 
  3376.  
  3377.  Sizing the ZOC only works in large steps 
  3378.     By default ZOC changes the font size when you size the window.  Since the 
  3379.     font is not available in every necessary size ZOC will use a best-fit 
  3380.     method and size the window accordingly.  If you do not like this, you can 
  3381.     change the sizing behavior in the Window Options. 
  3382.  
  3383.  I miss a full screen mode 
  3384.     There is no character based full screen mode available.  ZOC is a true PM 
  3385.     program and uses the benefits of OS/2's window system (like offering 
  3386.     icons). However, you can maximize the ZOC window using the maximize button 
  3387.     in the title bar.  This way ZOC will cover the whole screen (you should 
  3388.     select a large font if you do this). 
  3389.  
  3390.  Scrolling is slow 
  3391.     Scrolling in an WPS window is generally slower that in full screen mode. 
  3392.     There is a scroll speed option in options->window. 
  3393.  
  3394.  Is there a way to change the font or the colors of the terminal window? 
  3395.     You can change the font size and color of the terminal window in 
  3396.     options->window, but not the font. 
  3397.  
  3398.  After downloads the time setting of files is off by a few hours 
  3399.     Please check the discussion of the TZ environment variable in the starter 
  3400.     section of this file or set the 'Ignore time stamp' option in Transfer 
  3401.     Options. 
  3402.  
  3403.  What does ZOC mean? 
  3404.     The Hitchhikers Guide to the Galaxy might describe ZOC as followed: 
  3405.  
  3406.      zoc (v), to zoc means communicating with other people through the means of 
  3407.     extremely sophisticated hard- and software (sophisticated at least from the 
  3408.     viewpoint of the ape-descended inhabitants of an extremely unimportant blue 
  3409.     planet in an even lesser important part of the galaxy who think that 
  3410.     W*****s is a pretty neat piece of software). 
  3411.  
  3412.  
  3413. ΓòÉΓòÉΓòÉ 8.8. Credits ΓòÉΓòÉΓòÉ
  3414.  
  3415. We would like to thank 
  3416.  
  3417.  Frank Burleigh for innumerous suggestions/improvements regarding the help text 
  3418. and the program.  Hans-Juergen Rauscher for writing ZOCBK.  Jay Sottolano for 
  3419. his encouragement in the very early stages of the program.  Jim Himmelman for 
  3420. his support on the FIDO network.  John McNamara for running the help file 
  3421. through the spell checker twice.  Nicole Greiber for proofreading the help 
  3422. file.  Rod Smith for his support on the usenet during the 911-affair and later. 
  3423. Richard Ashton for his support on the FIDO net during the 911-affair.  Tom 
  3424. Hansen and  Jim LaSalle for downloading ZOC from Germany to help me to find the 
  3425. Cirrus driver workaround. 
  3426.  
  3427. Not to forget all the people who's names got lost in a hard disk havoc who 
  3428. helped ZOC to become a success through their innumerous bug reports and 
  3429. suggestions via email and fax. 
  3430.  
  3431. And thanks to  Douglas Adams,  Richard Bach,  Jane Roberts,  Brian Eno,  Frank 
  3432. Zappa,  Igor Stravinsky,  Philip Glass,  Barbra Streisand,  Jim Steinman and 
  3433. Meat Loaf,  Chivas Brother Ltd,  Pizzeria Rimini and several  Ceylonese Tea 
  3434. Producers for caring about our mental and physical needs. 
  3435.  
  3436. Last but not least, thanks to IBM for creating the best PC operating system in 
  3437. the world. 
  3438.  
  3439. Markus Schmidt
  3440. Markus G╨ñmmel
  3441.